Results for “okc_kol_k_articles_v”

4 results




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

Overview

The view OKC_KOL_K_ARTICLES_V belongs to the Oracle EBS Contracts Core (OKC) module and exposes contract article (clause) data for reporting and integration purposes. The view denormalizes article boilerplate information, version level descriptive content, and decoded lookup values into a flattened, business-friendly result set. It is particularly useful for extracting the human-readable form of contract terms and conditions, since it resolves coded values — such as the standard/non-standard indicator and the article subject — into their display meanings via OKC_UTIL.DECODE_LOOKUP.

The object is documented as not implemented in the source reference database, so its definition may be available only through the underlying EBS data dictionary rather than as a physical database object. The OKC_K_ARTICLES_B family of tables holds the base contract article records, while OKC_ARTICLES_ALL and OKC_ARTICLE_VERSIONS carry the article definitions and their version-level content. This view joins those three sources and presents a single, consistent row per article-version assignment, making it a convenient bridge between normalized contract data and reporting tools that cannot easily reproduce the decode logic.

Underlying Base Objects

The ETRM metadata documents three base tables in the view definition:

  • OKC_K_ARTICLES_B — the contract article base table, providing the association between a contract and an article version (IDs, character ID, contract line ID, and the object version number).
  • OKC_ARTICLES_ALL — the article master records, supplying the standard flag, article type, and article title.
  • OKC_ARTICLE_VERSIONS — the versioned article content, contributing the release number, description, variation description, and full article text.

Joins are established as follows: CATB.ARTICLE_VERSION_ID = VERS.ARTICLE_VERSION_ID links the contract article assignment to its versioned content, and CATB.SAV_SAE_ID = ART.ARTICLE_ID links that assignment back to the article master. The view therefore inherits a three-way dependency and returns only rows for which both joins resolve successfully.

The join is inner throughout, so article versions without a corresponding master record or contract assignment are excluded. The SAV_SAV_RELEASE column is derived using NVL(VERS.SAV_RELEASE, VERS.ARTICLE_VERSION_NUMBER), providing a fallback when the release field is null.

Key Columns

  • ID — primary identifier from the contract article base row.
  • CHR_ID — the contract header identifier linking the article to a specific contract.
  • CLE_ID — the contract line identifier associated with the article assignment.
  • DNZ_CHR_ID — the "denormalized" contract header identifier used for efficient contract-level grouping.
  • SAV_SAE_ID — the article master identifier.
  • SAV_SAV_RELEASE — the release/version label, resolved via NVL from the release or version number.
  • CAT_TYPE — derived using DECODE(ART.STANDARD_YN,'Y','STA','NSD'), yielding STA for standard articles and NSD for non-standard; this is the value most directly associated with the user search term cat_type.
  • STD_YES_NO — the decoded Yes/No form of the standard flag (max 80 characters).
  • SUBJECT — the decoded article subject from lookup OKC_SUBJECT.
  • SBT_CODE — the raw article type code.
  • NAME — the article title.
  • COMMENTS and VARIATION_DESCRIPTION — the article description and variation text.
  • TEXT — the full article body text.
  • OBJECT_VERSION_NUMBER — the optimistic locking version of the base row.

Common Use Cases and Queries

Typical scenarios include listing all clauses attached to a contract, filtering standard versus non-standard terms, and extracting full clause text for export. Because CAT_TYPE is decoded automatically, analysts commonly filter on it directly:

  • Retrieve all articles for one contract: SELECT id, name, cat_type, subject FROM okc_kol_k_articles_v WHERE chr_id = :contract_id.
  • Isolate non-standard articles: SELECT ... WHERE cat_type = 'NSD' ORDER BY subject.
  • Extract clause text for a document: SELECT name, text FROM okc_kol_k_articles_v WHERE sav_sav_release = :release.

Because the view resolves lookups and joins on ID columns, queries should be qualified by CHR_ID, CLE_ID, or SAV_SAE_ID to avoid full scans across large contract repositories.