RSF_LE_TL_WF_VW

(SQL View)
Index Back

Lead Telemarktg Agent and Mgr

Returns the telemarketing agent and the Manager's person_id from RB_WORKER record.

SELECT A.LEAD_ID , A.OPRID_CONVERTED_BY , C.PERSON_ID , C.SUPERVISOR_ID FROM PS_RSF_LEAD A , PSOPRALIAS B , PS_RB_WORKER C WHERE A.OPRID_CONVERTED_BY = B.OPRID AND B.OPRALIASTYPE = 'PER' AND B.PERSON_ID = C.PERSON_ID

# 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 OPRID_CONVERTED_BY Character(30) VARCHAR2(30) NOT NULL Operator Id Converted By
3 PERSON_ID_AGENT Character(15) VARCHAR2(15) NOT NULL Person ID Agent
4 PERSON_ID_MANAGER Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts