PIM_ACT_TM_VW

(SQL View)
Index Back

Account Team View

This view allows fast access to a customer's account team

SELECT DISTINCT P.PERSON_ID , BR.BO_ID_1 , %subrec(RB_AUDIT_SBR, R) FROM PS_RD_ACCT_TM_VW AC , PS_BO_REL BR , PS_RD_PERSON P , PS_BO_ROLE R WHERE AC.BO_ID_2 = BR.BO_ID_2 AND BR.BO_ID_1 = R.BO_ID AND BR.ROLE_TYPE_ID_2 = 2 AND R.ROLE_TYPE_ID = 8 AND P.BO_ID = AC.BO_ID_1 AND R.BO_ID = BR.BO_ID_1

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
4 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
5 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
6 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
7 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.
8 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time