RB_LE_NOTE_VW

(SQL View)
Index Back

Lead notes view

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

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

  • Related Language Record: RB_LE_NOTE_LVW
  • # 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 NOTE_SEQ_NBR Number(6,0) INTEGER NOT NULL Note ID
    3 NOTE_SOURCE Character(15) VARCHAR2(15) NOT NULL The original location a note came from. Or the source location of the note, either a lead, opportunity, customer, contact, case or service order.
    4 ID_NOTE Character(20) VARCHAR2(20) NOT NULL ID Number
    5 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    6 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
    7 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
    8 ASSIGNED_TO Character(15) VARCHAR2(15) NOT NULL This is a field to store assignment information.
    9 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
    10 CONTACT_NAME Character(50) VARCHAR2(50) NOT NULL The individual contact name associated with a given bank/counterparty.
    11 RC_SUMMARY Character(80) VARCHAR2(80) NOT NULL Typically a summary of a long field.
    12 RC_NOTE_TYPE Character(5) VARCHAR2(5) NOT NULL Case Note Types
    13 RC_VISIBILITY Character(4) VARCHAR2(4) NOT NULL Case Visibility, used for cases and case objects/attributes.
    A=All
    I=Internal
    14 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
    15 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
    16 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
    17 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
    18 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.
    19 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time
    20 DESCRLONG Long Character CLOB Long Description