RSF_TSK_RFRL_VW

(SQL View)
Index Back

Owner/SYNCID Lead view

View on Sales Leads keyed by Owner Person ID and SYNCID, for linking Leads to a Task

SELECT PERSON_ID , SYNCID , LEAD_ID , DESCR50 , NAME1 , SALES_USER_NAME , LEAD_STATUS FROM PS_RSF_LEAD WHERE PERSON_ID <> ' ' AND LEAD_STATUS IN ('AC','IM','NE','OP','WO','RJ','TB','RE') AND REFERRAL_FLG = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID_OWNER Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
2 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.
3 LEAD_ID Character(15) VARCHAR2(15) NOT NULL Used by Sales Force Automation, this field uniquely identifies a Sales Lead.
4 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
5 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
6 SALES_USER_NAME Character(50) VARCHAR2(50) NOT NULL Sales User Name field
7 LEAD_STATUS Character(2) VARCHAR2(2) NOT NULL Used by Sales Force Automation to keep the status of a Sales Lead.
AC=Accepted
CD=Closed - Duplicate
CL=Closed - Won
CO=Converted to Opportunity
DE=Deferred
IM=Imported
LO=Closed - Lost
NE=New
OP=Open
RE=Referred
RJ=Rejected
TB=Turnback
WO=Working

Default Value: NE