RD_ACCTM_TA_VW

(SQL View)
Index Back

Account Team Member View

Account Team Member View which contain both account owner and account team member

SELECT T.PERSON_ID_ASSIGNEE , P.PERSON_ID , RO.BO_ID , RO.SYNCID FROM PS_RD_PERSON P ,PS_BO_REL R ,PS_BO_ROLE RO , PS_RSF_TR_TEAM T WHERE R.ROLE_TYPE_ID_1 = 17 AND R.BO_ID_1 = P.BO_ID AND R.ROLE_TYPE_ID_2 = RO.ROLE_TYPE_ID AND R.BO_ID_2 = RO.BO_ID AND T.PERSON_ID = P.PERSON_ID AND T.DATE_FROM <= %CurrentDateIn AND T.DATE_TO >= %CurrentDateIn AND R.START_DT <= %CurrentDateIn AND R.END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID_ASSIGNEE Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
3 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object 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.