RSF_LE_SRCH_VW

(SQL View)
Index Back

Sales - Leads Search View

Used by Sales to search Sales Leads

SELECT LEAD_ID , DESCR50 , SALES_USER_NAME , BUSINESS_UNIT , TERRITORY_ID , BO_ID_CUST , NAME1 , OPPORTUNITY_ID , LEAD_SOURCE_ID , LEAD_RATING , LEAD_STATUS , %DatePart(ROW_ADDED_DTTM) , %subrec(RB_AUDIT_SBR, PS_RSF_LEAD) FROM PS_RSF_LEAD

# 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.

Default Value: NEXT

2 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
3 SALES_USER_NAME Character(50) VARCHAR2(50) NOT NULL Sales User Name field
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT

Prompt Table: SP_BU_RSF_NONVW

5 TERRITORY_ID Character(20) VARCHAR2(20) NOT NULL Territory ID
6 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.

Prompt Table: RSF_BC_CUST_VW

7 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
8 OPPORTUNITY_ID Character(15) VARCHAR2(15) NOT NULL Opportunity ID
9 LEAD_SOURCE_ID Character(15) VARCHAR2(15) NOT NULL Used by Sales Force Automation to identify the source of a Sales Lead.

Prompt Table: RSF_LE_SRC_TBL

10 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_TBL

11 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

12 DATE_ADDED Date(10) DATE Date Added
13 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
14 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
15 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
16 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
17 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.
18 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time