RB_OPP_NOTE_DT

(SQL View)
Index Back

View of notes for Opportunity

This is used for the note list, to view opportunity notes for a user who is assinged to the opp or created the note

SELECT C.PERSON_ID , A.OPPORTUNITY_ID , B.OPPORTUNITY_NAME , B.CUST_ID , B.NAME1 , B.CONTACT_ID , B.NAME , 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_OPP_NOTE A , PS_RSF_OPPORTUNITY B , PS_RSF_OPP_SLSREP C WHERE A.OPPORTUNITY_ID = B.OPPORTUNITY_ID AND A.OPPORTUNITY_ID = C.OPPORTUNITY_ID AND B.OPPORTUNITY_STATUS IN ('0','3')

# 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 NAME Character(50) VARCHAR2(50) NOT NULL Name
8 ASSIGNED_TO Character(15) VARCHAR2(15) NOT NULL This is a field to store assignment information.
9 NOTE_SEQ_NBR Number(6,0) INTEGER NOT NULL Note ID
10 RC_SUMMARY Character(80) VARCHAR2(80) NOT NULL Typically a summary of a long field.
11 RC_NOTE_TYPE Character(5) VARCHAR2(5) NOT NULL Case Note Types
12 RC_VISIBILITY Character(4) VARCHAR2(4) NOT NULL Case Visibility, used for cases and case objects/attributes.
A=All
I=Internal
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