Search Results order_category_code




Overview

APPS.OE_HEADERS_IOP_115_V is a restricted projection view defined over the Oracle Order Management order header entity. It exposes a narrow subset of the columns available in OE_ORDER_HEADERS and applies a hard-coded DECODE transformation to the ORDER_CATEGORY_CODE attribute, converting the stored base values into abbreviated reporting codes. In Oracle EBS 12.1.1 and 12.2.2, the "IOP" naming convention identifies the view as part of the Inbound/Outbound Processing (open interface) family of artifacts used by Order Management and its integration points, where a stable, denormalized header projection is required rather than the full transactional table.

Because the view is owned by APPS and is not defined with an INSTEAD OF trigger or join structure, it is read-only. Its principal role is to present order headers in a form suitable for external consumption, concurrent-program extraction, and interface staging, while shielding callers from the full column set and from internal coding conventions of ORDER_CATEGORY_CODE.

Underlying Base Objects

The view is defined over a single referenced base object, OE_ORDER_HEADERS, resolved through the APPS synonym. No joins, aggregations, or subqueries are present in the documented view text. The relationship is therefore one-to-one row-for-row: every row in OE_HEADERS_IOP_115_V corresponds to exactly one row in OE_ORDER_HEADERS, and the view inherits the base table's partitioning, indexing, and security characteristics as applied through the APPS schema.

Consequently, query performance against the view is governed entirely by the access path chosen on OE_ORDER_HEADERS (typically HEADER_ID, ORDER_NUMBER, or ORG_ID leading indexes). No materialization or query-rewrite benefit is introduced by the view layer itself.

Key Columns

Common Use Cases and Queries

The view is typically used where only header-level identity and category are required, particularly in interface and extraction logic that must distinguish standard orders from returns. A representative query retrieves recent headers by operating unit:

  • SELECT header_id, order_number, order_category_code, sold_to_org_id FROM apps.oe_headers_iop_115_v WHERE org_id = :p_org_id AND creation_date >= :p_from_date;
  • Filtering by category: ... WHERE order_category_code = 'R' returns standard orders only, since returns are mapped to 'RMA'.
  • Joining to lines: SELECT h.order_number, l.line_number FROM apps.oe_headers_iop_115_v h, apps.oe_order_lines_all l WHERE h.header_id = l.header_id;

Because 'Mixed' orders are returned as NULL by the DECODE, queries intended to capture all order categories must account for null values explicitly, for example with NVL(order_category_code,'UNCLASSIFIED'). Consumers should also note that the abbreviated codes ('R', 'RMA') do not correspond to the base table values and must not be used to update OE_ORDER_HEADERS.