RD_CONT_COMP_VW

(SQL View)
Index Back

Contact Company View

This view contains information to map the company names for which a Contact works. This draws information from BO_NAME, BO_REL, RD_PERSON and RD_COMPANY.

SELECT B.PERSON_ID , B.BO_ID , R.BO_ID_1 , R.BO_ID_2 , A.BO_NAME , R.REL_TYPE_ID , R.BO_REL_ID , B.SYNCID , R.ROW_LASTMANT_DTTM FROM PS_BO_REL R , PS_BO_NAME A , PS_RD_PERSON B , PS_RD_COMPANY C WHERE A.PRIMARY_IND = 'Y' AND B.BO_ID = R.BO_ID_1 AND R.BO_ID_2 = A.BO_ID AND C.BO_ID = A.BO_ID AND R.ROLE_TYPE_ID_1 = 8 AND R.ROLE_TYPE_ID_2 = 2 AND R.REL_TYPE_ID IN (9,10)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID

Default Value: NEXT

2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 BO_ID_1 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 1

Prompt Table: BO

4 BO_ID_2 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 2

Prompt Table: BO

5 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
6 REL_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID

Prompt Table: BO_REL_TYPE

7 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
8 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.
9 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.