RB_LE_NOTE_OWNR

(SQL View)
Index Back

Lead notes view

Used in the notes list for notes that are created on a lead.

SELECT B.PERSON_ID , A.LEAD_ID , B.DESCR50 , B.CUST_ID , B.NAME1 , B.PERSON_ID , A.NOTE_SEQ_NBR , A.RC_SUMMARY , A.RC_NOTE_TYPE , A.RC_VISIBILITY , %subrec(RB_AUDIT_SBR, A) FROM PS_RSF_LE_NOTE A , PS_RSF_LEAD B WHERE A.LEAD_ID = B.LEAD_ID AND B.LEAD_STATUS NOT IN ('CD','CL','CO','RJ')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID_SLSREP Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
2 ID_NOTE Character(20) VARCHAR2(20) NOT NULL ID Number
3 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
4 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
5 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
6 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
7 NOTE_SEQ_NBR Number(6,0) INTEGER NOT NULL Note ID
8 RC_SUMMARY Character(80) VARCHAR2(80) NOT NULL Typically a summary of a long field.
9 RC_NOTE_TYPE Character(5) VARCHAR2(5) NOT NULL Case Note Types
10 RC_VISIBILITY Character(4) VARCHAR2(4) NOT NULL Case Visibility, used for cases and case objects/attributes.
A=All
I=Internal
11 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
12 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
13 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
14 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
15 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.
16 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time