RSF_LE_NSLV_VW(SQL View) |
Index Back |
---|---|
New Leads since last viewedThis view will return all the leads which were created new since last viewed. (NSLV) |
SELECT A.LEAD_ID , A.DESCR50 , A.BUSINESS_UNIT , A.PERSON_ID , %subrec(RB_AUDIT_SBR, A) , %subrec(RB_MARKET_SBR , A) FROM PS_RSF_LEAD A , PS_RSF_LE_LASTVIEW B WHERE A.LEAD_STATUS IN ('NE','IM') AND A.PERSON_ID = B.PERSON_ID AND A.ROW_ADDED_DTTM >= B.LASTVIEWEDDTTM |
# | 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 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT Prompt Table: SP_BU_RSF_NONVW |
4 | PERSON_ID_OWNER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
5 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
6 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
7 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
8 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
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. |
10 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |
11 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |