Results for “okx_po_headers_v”
6 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKX_PO_HEADERS_V is a Contracts Integration view in Oracle E-Business Suite that presents purchasing document header information in a normalized, integration-friendly column layout. It is shipped under the OKX product family, which supports the exchange of contract and sourcing data between Oracle Purchasing and external or downstream systems. Functionally, the view exposes the header-level attributes of purchase orders, blanket purchase agreements, and contracts recorded in Oracle Purchasing, projecting them under logical names such as ID1, NAME, and DESCRIPTION rather than the raw column names used in the underlying table.
In reporting and integration contexts, this view acts as a single-source abstraction over PO_HEADERS_ALL. Rather than querying the base table directly, external interfaces, contract repositories, and custom reports can consume a stable set of header attributes. The view is documented in ETRM as "Not implemented in this database," meaning it is defined and shipped as part of the OKX schema objects but not necessarily instantiated in every environment; its availability depends on whether the Contracts Integration components have been installed.
Underlying Base Objects
The view is defined exclusively over a single base table, PO_HEADERS_ALL, aliased as POH. No other base tables or views are documented as referenced objects. Every column projected by OKX_PO_HEADERS_V originates directly from PO_HEADERS_ALL, which is the master header table for purchasing documents in Oracle Purchasing. Because there is a one-to-one mapping between rows in the view and rows in PO_HEADERS_ALL, the view does not perform joins, aggregation, or filtering — it is a purely column-renaming projection. This is significant for performance, as queries against the view benefit from the same indexing and partitioning characteristics as the base table, subject to any predicates applied to ORG_ID or STATUS_LOOKUP_CODE.
Key Columns
The view renames several base columns to integration-standard aliases and retains others verbatim. Notable columns include:
- ID1 / ID2 — ID1 maps to PO_HEADER_ID, the unique identifier of the purchasing document header. ID2 is a constant literal '#' and does not convey business meaning.
- NAME / DESCRIPTION — NAME maps to SEGMENT1 (the document number), and DESCRIPTION maps to COMMENTS.
- ORG_ID — The operating unit that owns the document; essential for multi-org secure reporting.
- AGENT_ID — The buyer or purchasing agent responsible for the document.
- TYPE_LOOKUP_CODE — Distinguishes document types such as purchase orders, blanket agreements, and contracts.
- FREIGHT_TERMS_LOOKUP_CODE — The freight terms code on the header, referencing FND_LOOKUPS values in the FREIGHT_TERMS lookup type. This is the column most frequently targeted by searches for freight_terms_lookup_code, as it drives freight cost determination and reporting.
- TERMS_ID — Payment terms reference; CURRENCY_CODE, RATE_TYPE, RATE_DATE, and RATE — currency and exchange rate attributes.
- VENDOR_ID, VENDOR_SITE_ID, VENDOR_CONTACT_ID — Supplier identification.
- STATUS_LOOKUP_CODE, AUTHORIZATION_STATUS, APPROVED_FLAG, CANCEL_FLAG, FROZEN_FLAG, CLOSED_DATE — Lifecycle and approval state indicators.
- START_DATE_ACTIVE, END_DATE_ACTIVE, START_DATE, END_DATE — Effective dating attributes for the document.
Common Use Cases and Queries
Typical usage includes extracting active contracts for interface loading, auditing freight terms assignments, and feeding purchasing document data into custom reports or third-party systems. A representative query filtering by freight terms is shown below.
- Freight terms audit:
SELECT ID1, NAME, ORG_ID, VENDOR_ID, FREIGHT_TERMS_LOOKUP_CODE, STATUS_LOOKUP_CODE FROM OKX_PO_HEADERS_V WHERE FREIGHT_TERMS_LOOKUP_CODE IS NOT NULL AND ORG_ID = :p_org_id; - Active agreements by supplier:
SELECT NAME, START_DATE_ACTIVE, END_DATE_ACTIVE FROM OKX_PO_HEADERS_V WHERE VENDOR_ID = :p_vendor_id AND ENABLED_FLAG = 'Y' AND TYPE_LOOKUP_CODE = 'BLANKET';
- Approved document extract for integration:
SELECT ID1, NAME, DESCRIPTION, AGENT_ID, CURRENCY_CODE FROM OKX_PO_HEADERS_V WHERE AUTHORIZATION_STATUS = 'APPROVED' AND CANCEL_FLAG = 'N';
Because the view is a direct projection of PO_HEADERS_ALL, developers should confirm that the object exists in the target environment before referencing it, as the ETRM metadata records it as not implemented in every database.
-
View: OKX_PO_HEADERS_V 12.1.1
Not implemented in this database·Explore OKX module →
-
View: OKX_PO_HEADERS_V 12.2.2
Not implemented in this database·Explore OKX module →
-
Not implemented in this database·Explore OKC module →
-
Not implemented in this database·Explore OKC module →
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 FND Design Data 12.1.1