RIT_REL_ROL5_VW

(SQL View)
Index Back

Contact - Business Contact

This view returns all the Business Contact - Contacts. The Contact will be returned to the BO_ID_CONTACT field and the Business Contact will be returned to the BO_ID field.

SELECT A.REL_TYPE_ID , A.BO_ID_1 , A.ROLE_TYPE_ID_1 , A.BO_ID_2 , A.ROLE_TYPE_ID_2 , D.BO_NAME , B.SETID FROM PS_BO_REL_CUR_VW A , PS_BC B , PS_BO_REL_CAT_ITEM C , PS_BO D WHERE C.REL_TYPE_ID = A.REL_TYPE_ID AND C.BO_REL_CATEGORY_ID IN (1) AND A.BO_ID_2 = B.BO_ID AND A.BO_ID_2 = D.BO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REL_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID
2 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
3 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_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 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
6 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
7 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.