Results for “okc_rel_obj_po_lines_v”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The view OKC_REL_OBJ_PO_LINES_V is a Contracts Core (OKC) reporting and integration object that exposes purchase order line information associated with contract-created sourcing documents. It is designed to surface the relationship between a contract line and the purchase order line that was generated from it, joining the contract relationship repository to Oracle Purchasing and system item master data. The view belongs to the OKC – Contracts Core product family and is intended to support inquiries, concurrent reporting, and integration scenarios where downstream consumers must resolve contract-to-PO linkage without navigating the underlying relationship tables directly.
The view name itself reflects its function: it bridges OKC relationship objects (OKC_K_REL_OBJS_V) to PO line data (OKX_PO_LINES_V) and system items (OKX_SYSTEM_ITEMS_V). Common applications include procurement analytics, contract compliance checks (comparing negotiated contract pricing against actual PO pricing), spend analysis, and custom reports that must reconcile contract deliverables to their resulting purchase orders.
Underlying Base Objects
The view text is explicitly documented. It is defined over three sources:
- OKC_K_REL_OBJS_V (aliased REL) — the contract relationship object view that stores linkages between a contract and an external object. The join key is REL.OBJECT1_ID1, and the view filters on REL.RTY_CODE = 'CONTRACTCREATESPO' and REL.JTOT_OBJECT1_CODE = 'OKX_PO_LINES' to restrict results to PO lines generated from contracts.
- OKX_PO_LINES_V (aliased POL) — the PO lines view supplying line number, header, quantity, list price, unit price, and item references. It joins to the relationship via POL.ID1 = REL.OBJECT1_ID1.
- OKX_SYSTEM_ITEMS_V (aliased SI) — the system item view supplying item name and description. It joins on POL.ITEM_ID = SI.ID1 AND POL.ORG_ID = SI.ID2, respecting the multi-org item key.
The ETRM metadata lists no documented base tables beyond the view composition. Implementation notes state the view is "Not implemented in this database," indicating it may be delivered by a patch or product installation and absent from certain environments.
Key Columns
- LINE_NUMBER — the PO line number (POL.LINE_NUM).
- PO_HEADER_ID — the PO header identifier, useful for grouping lines by order.
- DESCRIPTION — item description sourced from the system item view.
- QUANTITY — ordered quantity on the PO line.
- LIST_PRICE_PER_UNIT — the catalog/list price per unit, a common point of contract price comparison.
- UNIT_PRICE — the negotiated or actual unit price.
- AMOUNT — derived as UNIT_PRICE * QUANTITY, the extended line amount.
- OBJECT1_ID1 — the contract relationship object identifier linking contract to PO line.
- CHR_ID — the contract (header) identifier used in OKC relationship resolution.
- ITEM_NAME — the item name from the system item view.
Common Use Cases and Queries
Typical use is comparing contract pricing to realized PO pricing, or reporting all PO lines created from a given contract.
SELECT line_number, po_header_id, item_name,
quantity, list_price_per_unit, unit_price, amount
FROM okc_rel_obj_po_lines_v
WHERE chr_id = :contract_id
ORDER BY line_number;
To identify discrepancies between list and negotiated price:
SELECT item_name, unit_price, list_price_per_unit,
(list_price_per_unit - unit_price) AS discount_per_unit
FROM okc_rel_obj_po_lines_v
WHERE list_price_per_unit > unit_price;
Because joins are governed by relationship metadata, results reflect only PO lines traceable to contracts via the CONTRACTCREATESPO relationship type.
-
View: OKC_REL_OBJ_PO_LINES_V 12.2.2
Not implemented in this database·Explore OKC module →
-
View: OKC_REL_OBJ_PO_LINES_V 12.1.1
Not implemented in this database·Explore OKC module →
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2