RB_CONT_LEAD_VW(SQL View) |
Index Back |
---|---|
Contact List opportuntiy contsContacts for opportunities where the user who is logged in is part of the sales team |
SELECT DISTINCT D.LEAD_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_LE_CONTACTS B , PS_RSF_LE_SLSREP C , PS_RSF_LEAD D , PS_BC E , PS_BO F , PS_BO_REL R WHERE B.CONTACT_ID = A.PERSON_ID AND B.LEAD_ID = C.LEAD_ID AND B.LEAD_ID = D.LEAD_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 | LEAD_ID | Character(15) | VARCHAR2(15) NOT NULL | Used by Sales Force Automation, this field uniquely identifies a Sales Lead. |
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. |