RIM_LE_DYN_VW

(SQL View)
Index Back

RIM Lead view

RIM Lead view used to provide the Lead IDs which current user is authorized to view.

SELECT DISTINCT(L.LEAD_ID ) , L.DESCR50 , B.BO_NAME_DISPLAY , L.SALES_USER_NAME , L.LEAD_RATING , L.LEAD_STATUS , L.SYNCID , L.SYNCDTTM FROM PS_RSF_LEAD L LEFT OUTER JOIN PS_BO_NAME B ON B.BO_ID=L.BO_ID_CUST WHERE L.RC_PROSPECT_SW = 'N'

# 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 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
3 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
4 SALES_USER_NAME Character(50) VARCHAR2(50) NOT NULL Sales User Name field
5 LEAD_RATING Character(2) VARCHAR2(2) NOT NULL Used by Sales Force Automation to indicate the value (rating) of a lead, i.e. whether it's a Hot Lead or a Cold Lead.

Prompt Table: RSF_LE_RATE_VW

6 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
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