RB_CUST_COMP_VW(SQL View) |
Index Back |
---|---|
Customer ContactsCust_id, bo_id of customer and contact for all contacts |
SELECT A.SETID , A.CUST_ID , R.BO_ID_1 , R.BO_ID_2 , COMP.BO_NAME FROM PS_BO_REL R , PS_BC A , PS_BO COMP WHERE R.REL_TYPE_ID BETWEEN 9 AND 14 AND R.ROLE_TYPE_ID_2 IN ( 2 , 9) AND A.BO_ID = R.BO_ID_2 AND R.BO_ID_2 = COMP.BO_ID AND R.START_DT <= %CurrentDateIn AND R.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
3 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
4 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
5 | BO_NAME_PARENT | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |