RD_CNTCT_CMP_VW

(SQL View)
Index Back

Company Contact

This is the call report company contact view.

SELECT R.BO_ID_1 , C.SETID , R.BO_ID_2 , A.BO_NAME , A.BO_NAME_UPPER , R.REL_TYPE_ID , R.BO_REL_ID , B.SYNCID , R.ROW_LASTMANT_DTTM FROM PS_BO_NAME A , PS_RD_PERSON B , PS_RD_COMPANY C , PS_BO_REL R WHERE R.REL_TYPE_ID IN (9,10) AND R.START_DT <= %CurrentDateIn AND R.END_DT > %CurrentDateIn AND R.ROLE_TYPE_ID_1 = 8 AND R.ROLE_TYPE_ID_2 = 2 AND R.BO_ID_1 = B.BO_ID AND R.BO_ID_2 = C.BO_ID AND R.BO_ID_2 = A.BO_ID AND A.PRIMARY_IND = 'Y'

# 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 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
3 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
4 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object

Prompt Table: BO_NAME
Set Control Field: BO_ID

5 BO_NAME_UPPER 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
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.