Results for “okc_article_versions”

50+ results




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

Overview

OKC_ARTICLE_VERSIONS is a core table in the Oracle Contracts (OKC) module of Oracle E-Business Suite, available in releases 12.1.1 and 12.2.2. It stores every version of both standard clauses and non-standard clauses that are created on a business document. Standard clauses can accumulate multiple versions over their lifecycle, whereas non-standard clauses are typically created with a single version. This table is the successor to an earlier clause storage structure and serves as the authoritative repository for clause text, translation, publishing status, and adoption metadata within the Contracts authoring framework.

From a data modeling perspective, the heuristic Data Vault classification mined from the foreign key structure is hub. OKC_ARTICLE_VERSIONS therefore functions as a central entity whose identity is keyed by a single surrogate identifier, with surrounding tables acting as links and satellites that carry descriptive history and relationships.

Key Information Stored

The table contains 57 documented columns. The most significant are:

Two unique indexes act as business-key candidates: OKC_ARTICLE_VERSIONS_U1 (ARTICLE_VERSION_ID) and OKC_ARTICLE_VERSIONS_U2 (ARTICLE_ID, ARTICLE_VERSION_NUMBER). The latter enforces that version numbers are unique within a given article.

Common Use Cases and Queries

Typical reporting scenarios include retrieving the latest published clause text, tracing derived non-standard clauses back to their standard source, and auditing clause version history for a contract template. A representative query joining the hub to its parent article and its latest version is:

SELECT av.article_version_number, av.article_text, av.article_status
FROM   okc_article_versions av
WHERE  av.article_id = :article_id
AND    av.article_status = 'ACTIVE'
ORDER BY av.article_version_number DESC;

Another common pattern identifies versions derived from a given standard clause:

SELECT article_version_id, article_id, adoption_type
FROM   okc_article_versions
WHERE  std_article_version_id = :std_version_id;

Contract administrators also query the translated and published flags to report localization coverage across clause libraries.

Related Objects

OKC_ARTICLE_VERSIONS participates in an extensive FK network. The most significant related objects are: