Results for “okc_k_lines_b”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OKC_K_LINES_B is the base table for contract lines in Oracle E-Business Suite Contracts Core (OKC), the foundation module shared by Service Contracts (OKS), Lease Management (OKL/OKE), and Procurement Contracts. Each row represents a deliverable line item grouped into a logical set—typically defined by unitary price, delivery schedule, or another classification—that belongs to a contract header. Contract lines are the transactional backbone of the contracts suite: pricing, billing, renewals, tax, accounting, and fulfillment all attach to a line rather than to the header itself.

Functionally, the table sits between the header (OKC_K_HEADERS_B) and the item/deliverable layer (OKC_K_ITEMS). It carries commercial terms such as currency, negotiated price, price basis, payment terms, invoicing rules, price-list references, quantity-break pricing attributes, and configuration pointers. It also manages lifecycle state: status, termination, renewal (inbound and outbound links), and cancellation. The table is partitioned conceptually by contract type through the CLE_ID column, which references the contract-type definitions that determine which data-entry pages and validation rules apply.

The ETRM metadata classifies this object heuristically as a Data Vault hub. That is a modeling suggestion rather than an EBS fact: OKC_K_LINES_B functions as the central business-key anchor (contract line) around which many dependent satellites and links cluster. Architects building a vault or warehouse model should treat CLE_ID/ID as the durable line key, with pricing, status, and renewal attributes sourced from satellite-style history tables such as OKC_K_HISTORY_B.

Key Information Stored

The physical table contains 94 columns. The surrogate primary key is ID, enforced by unique index OKC_K_LINES_B_U1 and the constraint OKC_K_LINES_B_PK. A separate unique index, CLE_CLE1_UK, covers CHR_ID, CLE_ID, and LINE_NUMBER, making the combination of contract header, contract line, and line number the principal business-key candidate. The most significant columns are:

Common Use Cases and Queries

Contract lines are queried for renewal pipelines, billing reconciliation, price-list analysis, and tax determination. Because OKL_TAX_SOURCES and OKL_TAX_SOURCES_T both carry a KLE_ID foreign key to OKC_K_LINES_B, the user search for "okl_tax_sources" almost certainly indicates tracing how tax is sourced from a contract line.

  • Lines for a contract header — join CHR_ID to OKC_K_HEADERS_B (or use DNZ_CHR_ID) and filter on STS_CODE to exclude cancelled or terminated lines.
  • Tax source traceability — SELECT t.* FROM okc_k_lines_b l, okl_tax_sources t WHERE t.kle_id = l.id to map taxable lines to their source records.
  • Renewal chain analysis — self-join on CLE_ID = CLE_ID_RENEWED or CLE_ID_RENEWED_TO to reconstruct renewal history and renewal value.
  • Active lines in a period — filter START_DATE <= :as_of AND NVL(END_DATE, :as_of+1) > :as_of AND DATE_TERMINATED IS NULL AND DATE_CANCELLED IS NULL.
  • Price-break reporting — join PH_QP_REFERENCE_ID to QP_LIST_HEADERS_B and QP_LIST_LINES for Advanced Pricing tier data.
  • Billing reconciliation — link CLE_ID to OKS_BILL_CONT_LINES, OKS_BILL_SUB_LINES, and OKL_SUPP_INVOICE_DTLS to reconcile billed versus contracted value.

All queries should be schema-qualified (OKC.OKC_K_LINES_B) and, given the table's size and FK density, indexed access via CHR_ID or CLE_ID is strongly preferred over full scans.

Related Objects

Because nearly every Contracts module table carries a CLE_ID foreign key into OKC_K_LINES_B, it is best treated as the hub of the contracts data model, with OKL_TAX_SOURCES among the many dependent satellite tables referencing it through KLE_ID.