Search Results okc_article_versions
Overview
The OKC_ARTICLE_VERSIONS table is a core data object within the Oracle E-Business Suite Contracts Core module (OKC). It serves as the central repository for managing the version history of clauses, which are referred to as "articles" within the application. Every clause attached to a business document, such as a contract or an amendment, is stored as a versioned record in this table. It distinguishes between standard clauses, which can have multiple iterative versions over time, and non-standard (ad-hoc) clauses, which are typically created with a single, immutable version. This table is fundamental to the contract authoring and compliance lifecycle, enabling precise tracking of clause changes, auditability, and ensuring the correct version of a clause is applied to a given document.
Key Information Stored
The table stores metadata and content for each unique version of a clause. While the full column list is extensive, key fields typically include a unique identifier (ARTICLE_VERSION_ID), a foreign key to the base clause definition (ARTICLE_ID from OKC_ARTICLES), and a version number (VERSION_NUMBER). It holds the substantive clause text in fields like ARTICLE_TEXT or ARTICLE_TEXT_UPDATE. Critical status and tracking columns include START_DATE and END_DATE to define the version's active period, a VERSION_STATUS (e.g., DRAFT, APPROVED, ACTIVE), and standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE) for audit purposes.
Common Use Cases and Queries
A primary use case is retrieving the active version of a standard clause for a given date to ensure contract integrity. For reporting and audit trails, queries often join to the OKC_ARTICLES table to list all versions of a specific clause. Support and development teams may query this table to diagnose issues with clause rendering or versioning logic.
- Find Active Version:
SELECT * FROM okc_article_versions WHERE article_id = :1 AND sysdate BETWEEN start_date AND NVL(end_date, sysdate+1); - Clause Version History:
SELECT av.version_number, av.article_text, av.version_status FROM okc_articles a, okc_article_versions av WHERE a.article_id = av.article_id AND a.article_number = 'CLAUSE_123' ORDER BY av.version_number DESC;
Related Objects
OKC_ARTICLE_VERSIONS is a central hub in the Contracts Core data model. Its primary relationship is with the OKC_ARTICLES table, where OKC_ARTICLE_VERSIONS.ARTICLE_ID is a foreign key to OKC_ARTICLES.ARTICLE_ID. This defines the parent-child relationship between a clause definition and its versions. Furthermore, the table is referenced by document line detail tables, such as OKC_K_ARTICLES_B (which likely uses ARTICLE_VERSION_ID as a foreign key), to link a specific clause version to its instance on a contract or business document. This ensures the precise text used in a signed document is preserved.
-
Table: OKC_ARTICLE_VERSIONS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_ARTICLE_VERSIONS, object_name:OKC_ARTICLE_VERSIONS, status:VALID, product: OKC - Contracts Core , description: This table stores all the versions of a standard clause and non-standard clause created on a business document. Standard Clauses have multiple versions while the non-standard clauses are created with a single version. This table replaces th , implementation_dba_data: OKC.OKC_ARTICLE_VERSIONS ,
-
Table: OKC_ARTICLE_VERSIONS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_ARTICLE_VERSIONS, object_name:OKC_ARTICLE_VERSIONS, status:VALID, product: OKC - Contracts Core , description: This table stores all the versions of a standard clause and non-standard clause created on a business document. Standard Clauses have multiple versions while the non-standard clauses are created as a single version. This table replaces the , implementation_dba_data: OKC.OKC_ARTICLE_VERSIONS ,
-
APPS.OKC_ARTWF_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLE_ADOPTIONS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_K_NON_STD_ART_GRP dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLE_STATUS_CHANGE_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_ARTICLES_GRP dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_MIGRATE_GRP dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_K_ARTICLE_PUB dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_STD_ARTICLE_PUB dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_ARTICLES_MIGRATE_GRP dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_QA_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTWF_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_K_ARTICLES_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLE_VERSIONS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_CLM_PKG dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_CLS_UTIL dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_ARTICLES_ALL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_CA_UTIL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLE_KEYWORD_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ART_BLK_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_UTIL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_STD_ARTICLE_PUB dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLE_VERSIONS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_K_ARTICLES_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_DEVIATIONS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_DEVIATIONS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_K_ARTICLE_PUB dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ADOPTIONS_GRP dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ART_BLK_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_ARTICLE_STATUS_CHANGE_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_STD_ARTICLE_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ART_BLK_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLES_IMPORT_GRP dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_TERMS_UTIL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_UTIL dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLE_RELATIONSHIPS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_TERMS_TMPL_APPROVAL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_ARTICLES_MIGRATE_GRP dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_UTIL dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_ARTICLE_RELATIONSHIPS_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_COPY_PVT dependencies on OKC_ARTICLE_VERSIONS
12.1.1
-
APPS.OKC_XPRT_QA_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.PO_EDA_DATATEMPLATE_PKG dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_STD_ARTICLE_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_TERMS_TMPL_APPROVAL_PVT dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_K_NON_STD_ART_GRP dependencies on OKC_ARTICLE_VERSIONS
12.2.2
-
APPS.OKC_WORD_DOWNLOAD_UPLOAD dependencies on OKC_ARTICLE_VERSIONS
12.2.2