RB_CONT_OPP_VW

(SQL View)
Index Back

Contact List opportuntiy conts

Contacts for opportunities where the user who is logged in is part of the sales team

SELECT DISTINCT D.OPPORTUNITY_ID , E.CUST_ID , B.CONTACT_ID , C.PERSON_ID , B.CONTACT_NAME , F.BO_NAME , B.WORK_PHONE , B.EMAILID , R.SYNCID FROM PS_RD_PERSON A , PS_RSF_OPP_CONTACT B , PS_RSF_OPP_SLSREP C , PS_RSF_OPPORTUNITY D , PS_BC E , PS_BO F , PS_BO_REL R WHERE B.CONTACT_ID = A.PERSON_ID AND B.OPPORTUNITY_ID = C.OPPORTUNITY_ID AND B.OPPORTUNITY_ID = D.OPPORTUNITY_ID AND D.BO_ID_CUST = E.BO_ID AND D.BO_ID_CUST = F.BO_ID AND D.BO_ID_CUST = R.BO_ID_2

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPPORTUNITY_ID Character(15) VARCHAR2(15) NOT NULL Opportunity ID
2 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
3 PERSON_ID_CONT Character(15) VARCHAR2(15) NOT NULL Person ID
4 PERSON_ID_SLSREP Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
5 COMPANY_NAME Character(70) VARCHAR2(70) NOT NULL Company Name
6 CONTACT_NAME Character(50) VARCHAR2(50) NOT NULL The individual contact name associated with a given bank/counterparty.
7 WORK_PHONE Character(24) VARCHAR2(24) NOT NULL Work Phone
8 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
9 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.