RB_CUST_CONT_VW(SQL View) |
Index Back |
---|---|
Customer Contact ViewCustomer Contact View for all Customer Contacts (excluding Partner Contacts). |
SELECT C.BO_ID , R.ROLE_TYPE_ID_1 , C.BO_NAME , B.BO_ID , R.ROLE_TYPE_ID_2 , B.BO_NAME , R.REL_TYPE_ID , R.BO_REL_ID , R.SYNCID FROM PS_BO C , PS_BO_REL R , PS_BO B WHERE C.BO_ID = R.BO_ID_1 AND R.ROLE_TYPE_ID_1 = 8 AND R.ROLE_TYPE_ID_2 IN (2,9) AND R.REL_TYPE_ID IN (9,10,11,12,13,14) AND R.BO_ID_2 = B.BO_ID AND R.START_DT <= %CurrentDateIn AND R.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
2 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
5 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
6 | NAME1 | Character(50) | VARCHAR2(50) NOT NULL | Generic 50 character name field for storing names. |
7 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
8 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
9 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |