PIM_LETM_CNT_VW

(SQL View)
Index Back

Contacts in Sales Lead team

This view shows all the contacts for a person who may be a member of the sales team

SELECT A.BO_ID_CONTACT , S.PERSON_ID , %subrec(RB_AUDIT_SBR, G) FROM PS_BO_ROLE G , PS_RSF_LEAD L , PS_RSF_LE_CONTACTS A , PS_RSF_LE_SLSREP S WHERE G.ROLE_TYPE_ID = 8 AND A.BO_ID_CONTACT = G.BO_ID AND A.LEAD_ID = L.LEAD_ID AND L.LEAD_ID = S.LEAD_ID AND A.LEAD_ID = S.LEAD_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