Search Results so_note_references
Overview
The SO_NOTE_REFERENCES table is a core data object within the Oracle E-Business Suite (EBS) Order Entry (OE) module, specifically in versions 12.1.1 and 12.2.2. It functions as a junction table that establishes the relationship between textual notes and the specific transactional entities to which they are attached. Its primary role is to enable the flexible association of notes, stored in the SO_NOTES table, with both sales order headers (SO_HEADERS_ALL) and sales order lines (SO_LINES_ALL). This design allows for a single note to be referenced by multiple orders or lines, promoting data reusability and maintaining a centralized repository of note text separate from its numerous applications.
Key Information Stored
The table's structure is defined by its foreign key relationships, which are the most critical columns for understanding its purpose. The primary key, NOTE_REFERENCE_ID, uniquely identifies each note-to-entity linkage. The NOTE_ID column references the SO_NOTES table to identify the specific text of the note. The HEADER_ID and LINE_ID columns are foreign keys to SO_HEADERS_ALL and SO_LINES_ALL, respectively; for a given row, one of these will be populated to indicate whether the note is attached at the header or line level. The USAGE_ID column references the SO_NOTE_USAGES table, which typically defines the context or category of the note (e.g., internal comments, customer instructions, shipping remarks). This column provides metadata about how the note is being used in a particular reference.
Common Use Cases and Queries
A primary use case is generating reports that list all notes associated with a specific order or order line, which is essential for customer service and operational analysis. Developers often query this table when building custom integrations or extensions that need to process or display order annotations. A common SQL pattern retrieves note text for a given order header:
- SELECT sn.text, snr.usage_id FROM oe.so_note_references snr, oe.so_notes sn WHERE snr.header_id = :p_header_id AND snr.note_id = sn.note_id;
Another frequent scenario involves data validation or migration scripts that verify the integrity of note references or populate notes during an order import process. Understanding the distinction between header-level and line-level notes, as defined by the populated HEADER_ID or LINE_ID, is crucial for accurate reporting.
Related Objects
As indicated by its foreign keys, SO_NOTE_REFERENCES is centrally connected to several key OE tables. The SO_NOTES table is its direct partner, holding the actual note text referenced via NOTE_ID. The transactional entities are represented by SO_HEADERS_ALL (for orders) and SO_LINES_ALL (for order lines). The SO_NOTE_USAGES table provides descriptive context for the reference via the USAGE_ID. This table is also referenced by the SO_NOTE_REFERENCES_PK primary key constraint and the foreign key constraints listed in the metadata. Custom views or reporting tools often join SO_NOTE_REFERENCES with these related tables to present a comprehensive view of order notes and their contexts.
-
Table: SO_NOTE_REFERENCES
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_NOTE_REFERENCES, object_name:SO_NOTE_REFERENCES, status:VALID, product: OE - Order Entry , description: Notes attached to orders and order lines , implementation_dba_data: OE.SO_NOTE_REFERENCES ,
-
Table: SO_NOTE_REFERENCES
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_NOTE_REFERENCES, object_name:SO_NOTE_REFERENCES, status:VALID, product: OE - Order Entry , description: Notes attached to orders and order lines , implementation_dba_data: OE.SO_NOTE_REFERENCES ,
-
Table: SO_NOTE_USAGES
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_NOTE_USAGES, object_name:SO_NOTE_USAGES, status:VALID, product: OE - Order Entry , description: Note usages , implementation_dba_data: OE.SO_NOTE_USAGES ,
-
Table: SO_NOTES
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_NOTES, object_name:SO_NOTES, status:VALID, product: OE - Order Entry , description: Order and line standard notes , implementation_dba_data: OE.SO_NOTES ,
-
Table: SO_NOTES
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_NOTES, object_name:SO_NOTES, status:VALID, product: OE - Order Entry , description: Order and line standard notes , implementation_dba_data: OE.SO_NOTES ,
-
Table: SO_NOTE_USAGES
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_NOTE_USAGES, object_name:SO_NOTE_USAGES, status:VALID, product: OE - Order Entry , description: Note usages , implementation_dba_data: OE.SO_NOTE_USAGES ,
-
Table: SO_LINES_ALL
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_LINES_ALL, object_name:SO_LINES_ALL, status:VALID, product: OE - Order Entry , description: Order lines , implementation_dba_data: OE.SO_LINES_ALL ,
-
Table: SO_LINES_ALL
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_LINES_ALL, object_name:SO_LINES_ALL, status:VALID, product: OE - Order Entry , description: Order lines , implementation_dba_data: OE.SO_LINES_ALL ,
-
Table: SO_HEADERS_ALL
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_HEADERS_ALL, object_name:SO_HEADERS_ALL, status:VALID, product: OE - Order Entry , description: Order header information , implementation_dba_data: OE.SO_HEADERS_ALL ,
-
Table: SO_HEADERS_ALL
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_HEADERS_ALL, object_name:SO_HEADERS_ALL, status:VALID, product: OE - Order Entry , description: Order header information , implementation_dba_data: OE.SO_HEADERS_ALL ,