Search Results oe_order_headers_n5




Overview

ONT.OE_ORDER_HEADERS_ALL is the master header table for the Oracle Order Management (ONT) application in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the header-level attributes of every sales order, return, quote, and blanket agreement processed through Order Management, including the sold-to, ship-to, invoice-to and deliver-to parties, pricing and currency controls, payment and accounting rules, credit card data, hold and booking flags, and the complete set of descriptive flexfield (DFF) and Trading Partner (TP) attribute columns. Each row represents a single order version, so the table is the primary integration point for order capture, order import, pricing, scheduling, shipping, and receivables.

Under a heuristic Data Vault classification mined from its foreign key structure, this object is best modeled as a hub — the core business entity keyed by HEADER_ID, with satellites supplying the descriptive order attributes and links connecting it to customer, order type, pricing, and reference entities. The table resides in the APPS_TS_TX_DATA tablespace, with all index segments in APPS_TS_TX_IDX.

Key Information Stored

The surrogate primary key is HEADER_ID, defined by the unique index OE_ORDER_HEADERS_PK. Two unique indexes act as business-key candidates: OE_ORDER_HEADERS_U1 on HEADER_ID and OE_ORDER_HEADERS_U2 on (ORDER_NUMBER, ORDER_TYPE_ID, VERSION_NUMBER). The user query "oe_order_headers_u1" therefore resolves to the unique key on the header identifier.

Common Use Cases and Queries

Typical reporting retrieves booked orders for an operating unit, traces a customer PO to its order, or lists open orders pending fulfillment.

  • Retrieve a booked order by number: SELECT HEADER_ID, ORDER_NUMBER, ORDERED_DATE, FLOW_STATUS_CODE FROM OE_ORDER_HEADERS_ALL WHERE ORDER_NUMBER = :n AND ORG_ID = :org;
  • List open orders for a sold-to party: SELECT h.HEADER_ID, h.ORDER_NUMBER, h.CUST_PO_NUMBER FROM OE_ORDER_HEADERS_ALL h WHERE h.SOLD_TO_ORG_ID = :cust AND h.OPEN_FLAG = 'Y';
  • Join to lines for detail-level reporting: SELECT h.ORDER_NUMBER, l.LINE_NUMBER, l.ORDERED_QUANTITY FROM OE_ORDER_HEADERS_ALL h, OE_ORDER_LINES_ALL l WHERE h.HEADER_ID = l.HEADER_ID;
  • Audit order-source or batch imports using ORIG_SYS_DOCUMENT_REF, BATCH_ID, and SOURCE_DOCUMENT_ID.
  • Resolve the customer PO index OE_ORDER_HEADERS_N5 when searching by CUST_PO_NUMBER.

Related Objects

Foreign keys define the hub's referenced dimension tables, while many child and interface tables reference it by HEADER_ID.