Search Results oe_order_header_history
Overview
The OE_ORDER_HEADER_HISTORY table is a core data object within the Oracle E-Business Suite (EBS) Order Management (ONT) module, specifically for versions 12.1.1 and 12.2.2. Its primary function is to serve as an audit trail, systematically storing a historical record of changes made to critical attributes of sales order headers. This table is fundamental for maintaining data integrity and providing a traceable log of modifications, which is essential for compliance, troubleshooting, and understanding the evolution of an order throughout its lifecycle. Unlike the main transaction table (OE_ORDER_HEADERS_ALL), which holds the current state of an order header, this history table captures discrete snapshots of changed data, enabling users to reconstruct the state of an order at any point in the past.
Key Information Stored
The table's structure is designed to capture the before-and-after state of modified attributes. While the provided metadata does not list all columns, the foreign key relationships indicate the types of critical data tracked. Key columns typically include a reference to the parent order header (HEADER_ID), the specific column or attribute that was changed (COLUMN_NAME), the original value (OLD_VALUE), the new value (NEW_VALUE), and metadata about the change such as the creation date (CREATION_DATE) and who made the change (CREATED_BY). Crucially, the foreign keys reveal that the table tracks historical changes to customer and contact assignments, including the Sold-To, Ship-To, Invoice-To, and Deliver-To contacts and sites, as well as end-customer and minisite information.
Common Use Cases and Queries
The primary use case is auditing and reporting on order header modifications. This is vital for customer service to explain changes to an order, for finance to audit pricing or customer terms updates, and for system administrators to diagnose data issues. A common query pattern involves joining to OE_ORDER_HEADERS_ALL to retrieve current order details alongside their change history. For example, to find all historical changes to the Sold-To customer for a specific order, one might use a query such as: SELECT oh.order_number, hh.column_name, hh.old_value, hh.new_value, hh.creation_date FROM oe_order_header_history hh, oe_order_headers_all oh WHERE hh.header_id = oh.header_id AND oh.order_number = '&order_num' AND hh.column_name LIKE '%SOLD_TO%' ORDER BY hh.creation_date;. Another frequent scenario is generating a comprehensive audit report for all changes within a specific date range.
Related Objects
The OE_ORDER_HEADER_HISTORY table maintains direct foreign key relationships with several foundational Trading Community Architecture (TCA) and Order Management tables, as documented in the metadata. These relationships are central to understanding the data it audits:
- HZ_CUST_ACCOUNT_ROLES: For historical
DELIVER_TO_CONTACT_ID,INVOICE_TO_CONTACT_ID,SHIP_TO_CONTACT_ID,SOLD_TO_CONTACT_ID, andEND_CUSTOMER_CONTACT_ID. - HZ_CUST_ACCOUNTS: For historical
END_CUSTOMER_ID. - HZ_CUST_SITE_USES_ALL: For historical
SOLD_TO_SITE_USE_IDandEND_CUSTOMER_SITE_USE_ID. - HZ_CONTACT_POINTS: For historical
SOLD_TO_PHONE_ID. - IBE_MSITES_B: For historical
MINISITE_ID.
The table's primary parent is the OE_ORDER_HEADERS_ALL table, linked via the HEADER_ID column, from which the historical snapshots are derived.
-
Table: OE_ORDER_HEADER_HISTORY
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_ORDER_HEADER_HISTORY, object_name:OE_ORDER_HEADER_HISTORY, status:VALID, product: ONT - Order Management , description: Stores history of attribute change for Order Headers , implementation_dba_data: ONT.OE_ORDER_HEADER_HISTORY ,
-
Table: OE_ORDER_HEADER_HISTORY
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_ORDER_HEADER_HISTORY, object_name:OE_ORDER_HEADER_HISTORY, status:VALID, product: ONT - Order Management , description: Stores history of attribute change for Order Headers , implementation_dba_data: ONT.OE_ORDER_HEADER_HISTORY ,
-
APPS.OE_HEADER_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_PAYMENT_DATA_MIGRATION_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_VERSION_HISTORY_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_VERSIONING_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_HEADER_SECURITY dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_VERSION_HISTORY_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_VERSION_COMP dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_AUDIT_HISTORY_PVT dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_ORDER_PURGE_PVT dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_VERSION_COMP dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_CHG_ORDER_PVT dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_PAYMENT_DATA_MIGRATION_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_CHG_ORDER_PVT dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_ORDER_PURGE_PVT dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_CUST_MERGE dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_CUST_MERGE dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_HEADER_SECURITY dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_HEADER_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.2.2
-
APPS.OE_VERSIONING_UTIL dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_AUDIT_HISTORY_PVT dependencies on OE_ORDER_HEADER_HISTORY
12.1.1
-
APPS.OE_CUST_MERGE dependencies on OE_ORDER_HEADERS_ALL
12.2.2
-
Table: HZ_CUST_ACCOUNT_ROLES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNT_ROLES, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID, product: AR - Receivables , description: Roles that parties perform in customer accounts , implementation_dba_data: AR.HZ_CUST_ACCOUNT_ROLES ,
-
Table: HZ_CUST_ACCOUNT_ROLES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNT_ROLES, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID, product: AR - Receivables , description: Roles that parties perform in customer accounts , implementation_dba_data: AR.HZ_CUST_ACCOUNT_ROLES ,
-
APPS.OE_CUST_MERGE dependencies on OE_ORDER_HEADERS
12.2.2
-
SYNONYM: APPS.OE_ORDER_HEADER_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADER_HISTORY, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADER_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADER_HISTORY, status:VALID,
-
VIEW: APPS.OE_ORDER_VERSIONS_V
12.1.1
-
VIEW: APPS.OE_ORDER_VERSIONS_V
12.2.2
-
APPS.OE_PAYMENT_DATA_MIGRATION_UTIL dependencies on FND_FILE
12.2.2
-
APPS.OE_PAYMENT_DATA_MIGRATION_UTIL dependencies on FND_FILE
12.1.1
-
APPS.OE_CUST_MERGE dependencies on OE_CUST_MERGES_GTT
12.2.2
-
APPS.OE_PAYMENT_DATA_MIGRATION_UTIL dependencies on OE_DEBUG_PUB
12.2.2
-
APPS.OE_PAYMENT_DATA_MIGRATION_UTIL dependencies on OE_DEBUG_PUB
12.1.1
-
APPS.OE_VERSION_HISTORY_UTIL dependencies on OE_VERSION_HISTORY_UTIL
12.1.1
-
View: OE_ORDER_VERSIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_VERSIONS_V, object_name:OE_ORDER_VERSIONS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_ORDER_VERSIONS_V ,
-
View: OE_ORDER_VERSIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_VERSIONS_V, object_name:OE_ORDER_VERSIONS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_ORDER_VERSIONS_V ,
-
APPS.OE_VERSION_HISTORY_UTIL dependencies on OE_VERSION_HISTORY_UTIL
12.2.2
-
Table: IBE_MSITES_B
12.1.1
owner:IBE, object_type:TABLE, fnd_design_data:IBE.IBE_MSITES_B, object_name:IBE_MSITES_B, status:VALID, product: IBE - iStore , description: Stores Mini Site (Specialty Stores) Information. , implementation_dba_data: IBE.IBE_MSITES_B ,
-
Table: IBE_MSITES_B
12.2.2
owner:IBE, object_type:TABLE, fnd_design_data:IBE.IBE_MSITES_B, object_name:IBE_MSITES_B, status:VALID, product: IBE - iStore , description: Stores Mini Site (Specialty Stores) Information. , implementation_dba_data: IBE.IBE_MSITES_B ,
-
APPS.OE_CUST_MERGE dependencies on ARP_MESSAGE
12.1.1
-
APPS.OE_CUST_MERGE dependencies on ARP_MESSAGE
12.2.2
-
Table: HZ_CONTACT_POINTS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CONTACT_POINTS, object_name:HZ_CONTACT_POINTS, status:VALID, product: AR - Receivables , description: Electronic methods of communicating with parties , implementation_dba_data: AR.HZ_CONTACT_POINTS ,
-
Table: HZ_CONTACT_POINTS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CONTACT_POINTS, object_name:HZ_CONTACT_POINTS, status:VALID, product: AR - Receivables , description: Electronic methods of communicating with parties , implementation_dba_data: AR.HZ_CONTACT_POINTS ,
-
PACKAGE BODY: APPS.OE_VERSION_COMP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VERSION_COMP, status:VALID,
-
PACKAGE BODY: APPS.OE_VERSION_COMP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VERSION_COMP, status:VALID,
-
VIEW: APPS.OE_ORDER_VERSIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_VERSIONS_V, object_name:OE_ORDER_VERSIONS_V, status:VALID,
-
PACKAGE BODY: APPS.OE_CUST_MERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CUST_MERGE, status:VALID,
-
VIEW: APPS.OE_ORDER_VERSIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_VERSIONS_V, object_name:OE_ORDER_VERSIONS_V, status:VALID,