RDM_COMP_PLN_VW

(SQL View)
Index Back

Company as Plan Team Member

This view returns all the companies where the person is on the account plan team.

SELECT B.PERSON_ID , COMP.SETID , COMP.COMPANYID , COMP.SYNCID , COMP.SYNCDTTM FROM PS_RD_COMPANY COMP ,PS_RD_PERSON B ,PS_RSP_TP_HEADER H ,PS_RSP_TP_TEAM T ,PS_BO BO WHERE H.BO_ID = COMP.BO_ID AND H.RSP_UID20 = T.RSP_UID20 AND T.BO_ID_PERSON = B.BO_ID AND COMP.BO_ID = BO.BO_ID AND BO.MERGE_STATUS <> 'I'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
3 COMPANYID Character(15) VARCHAR2(15) NOT NULL Company ID
4 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.
5 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time