Search Results so_note_addition_rules




Overview

The SO_NOTE_ADDITION_RULES table is a core data object within the Order Entry (OE) module of Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2. As defined by its description, it stores "Note addition prerequisites." This table functions as a control mechanism, governing the conditional attachment of standard notes to transactional entities within the order management flow. It enables the system to enforce business logic by defining specific conditions under which a particular note must be automatically added to an order, line, or other related entity, ensuring consistent communication and compliance without manual intervention.

Key Information Stored

The table's structure, inferred from the provided foreign key metadata, centers on linking note definitions to business entities and defining the prerequisite rules. Key columns include NOTE_ID, which serves as a foreign key to the SO_NOTES table, identifying the specific standard note text to be applied. The ENTITY_ID column is a foreign key to the SO_ENTITIES table, defining the type of object (e.g., order header, order line) to which the note can be attached. While the explicit column list for rules logic is not detailed in the excerpt, such a table typically contains additional columns to define the prerequisite conditions. These likely reference application lookup codes or other master data to evaluate factors like transaction type, price list, customer class, or item category, determining when the note addition is triggered.

Common Use Cases and Queries

The primary use case is the automated, rule-based population of notes during order entry and processing. For instance, a rule could mandate that a specific regulatory disclaimer note be attached to all order lines for items in a controlled category when shipped to a particular country. Administrators use this setup to maintain standard note text centrally in SO_NOTES and control its application via rules in SO_NOTE_ADDITION_RULES. A common reporting query would join these tables to audit all active note rules.

SELECT rule.note_id,
       note.name note_name,
       ent.entity_code,
       rule.enabled_flag
FROM   oe.so_note_addition_rules rule,
       oe.so_notes note,
       oe.so_entities ent
WHERE  rule.note_id = note.note_id
AND    rule.entity_id = ent.entity_id
ORDER BY note.name;

Related Objects

As per the documented foreign keys, SO_NOTE_ADDITION_RULES has direct dependencies on two key master tables. SO_NOTES contains the reusable text of the standard notes referenced by the NOTE_ID. SO_ENTITIES defines the valid application entities (such as ORDER, LINE, PRICE_ADJUSTMENT) to which notes can be attached, referenced by the ENTITY_ID. This table is integral to the note attachment engine within the Order Management APIs and is likely referenced by internal OE packages and views that process order notes. Any customization or data fix involving conditional note assignment must consider the integrity of these relationships.