PIM_OPTM_CNT_VW

(SQL View)
Index Back

Contacts in Sales Opp Team

This view shows all the contacts for opportunies which a user is a team member of

SELECT A.BO_ID_CONTACT , S.PERSON_ID , %subrec(RB_AUDIT_SBR, G) FROM PS_BO_ROLE G , PS_RSF_OPPORTUNITY L , PS_RSF_OPP_CONTACT A , PS_RSF_OPP_SLSREP S WHERE G.ROLE_TYPE_ID = 8 AND A.BO_ID_CONTACT = G.BO_ID AND A.OPPORTUNITY_ID = L.OPPORTUNITY_ID AND L.OPPORTUNITY_ID = S.OPPORTUNITY_ID AND A.OPPORTUNITY_ID = S.OPPORTUNITY_ID

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