Search Results okc_k_vers_numbers
Overview
OKC_K_VERS_NUMBERS is a Contracts Core (OKC) base table in Oracle E-Business Suite 12.1.1 and 12.2.2 that records the current document version of a contract. Where OKC_K_HEADERS_B stores the contract header itself, OKC_K_VERS_NUMBERS acts as the version registry, assigning a major and minor version number to each contract so that the application can identify the latest approved or authored rendition of the contract document. The table is owned by the OKC schema and is documented as VALID in ETRM. In Data Vault terms, the heuristic mining of the foreign key structure classifies this object as satellite-leaning: it is best modeled as a satellite attached to the OKC_K_HEADERS_B hub, carrying descriptive version attributes keyed by the contract header identifier rather than introducing new business entities of its own.
Key Information Stored
The physical schema documents ten columns. The surrogate primary key is enforced by OKC_K_VERS_NUMBERS_PK on CHR_ID, and a second unique index, OKC_K_VERS_NUMBERS_U1, also covers CHR_ID, making that column the effective business-key candidate and the join path back to the contract header.
- CHR_ID — Contract header identifier; primary key column and the foreign key to OKC_K_HEADERS_B. One row in this table corresponds to one contract header.
- MAJOR_VERSION — The major version counter for the contract document, incremented on substantive revisions.
- MINOR_VERSION — The minor version counter, used for incremental or subordinate revisions within a major version.
- OBJECT_VERSION_NUMBER — Optimistic locking column maintained by the framework to detect concurrent updates.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE — Standard WHO audit columns recording who created and last changed the version record, and when.
- LAST_UPDATE_LOGIN — The login of the user session that performed the most recent update.
- SECURITY_GROUP_ID — Multi-tenant and access-control discriminator, with a foreign key to FND_SECURITY_GROUPS.
Common Use Cases and Queries
The primary reporting scenario is determining which version of a contract is current and how many revisions a contract has undergone. A typical query joins the version table to the header base table:
SELECT h.contract_number, h.contract_type,
v.major_version, v.minor_version,
v.last_updated_by, v.last_update_date
FROM okc_k_headers_b h,
okc_k_vers_numbers v
WHERE h.id = v.chr_id
AND h.contract_number = :contract_number;
Contract administrators use the same pattern to audit revision history across a contract portfolio, for example grouping by CONTRACT_TYPE to compare average major version counts. Integrations and interfaces frequently read MAJOR_VERSION and MINOR_VERSION to stamp version information onto outbound documents or print layouts, ensuring the printed contract matches the stored rendition. Because OBJECT_VERSION_NUMBER is maintained by the framework, custom code that updates these rows must preserve it to avoid optimistic-lock conflicts. Reporting on SECURITY_GROUP_ID supports multi-org or secured-access filtering when version data is exposed to restricted responsibilities.
Related Objects
The following dependencies are documented in the ETRM relationship metadata and schema:
- OKC_K_HEADERS_B — Parent contract header table; joined on OKC_K_VERS_NUMBERS.CHR_ID = OKC_K_HEADERS_B.ID (documented FK).
- FND_SECURITY_GROUPS — Referenced through SECURITY_GROUP_ID for access-control grouping.
- OKC_K_VERS_NUMBERS_PK / OKC_K_VERS_NUMBERS_U1 — The primary key and unique index that enforce one version record per contract header.
- OKC_K_HEADERS_TL — Language-dependent header translations, commonly combined with OKC_K_HEADERS_B and this table in contract listing reports.
- OKC_K_LINES_B and OKC_K_ITEMS — Contract lines and items that logically attach to the header identified by CHR_ID, frequently queried alongside version data.
Applications should treat OKC_K_VERS_NUMBERS as a satellite of the contract header: it holds no independent business identity beyond CHR_ID and derives its lifecycle entirely from the parent contract record.
-
Table: OKC_K_VERS_NUMBERS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_VERS_NUMBERS, object_name:OKC_K_VERS_NUMBERS, status:VALID, product: OKC - Contracts Core , description: Indicates the current version of the contract as a document. , implementation_dba_data: OKC.OKC_K_VERS_NUMBERS ,
-
Table: OKC_K_VERS_NUMBERS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_VERS_NUMBERS, object_name:OKC_K_VERS_NUMBERS, status:VALID, product: OKC - Contracts Core , description: Indicates the current version of the contract as a document. , implementation_dba_data: OKC.OKC_K_VERS_NUMBERS ,
-
VIEW: APPS.OKS_DOCUMENT_VERSIONS_V
12.1.1
-
VIEW: APPS.OKS_DOCUMENT_VERSIONS_V
12.2.2
-
VIEW: OKC.OKC_K_VERS_NUMBERS#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_K_VERS_NUMBERS#, status:VALID,
-
View: OKC_K_VERS_NUMBERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_VERS_NUMBERS_V, object_name:OKC_K_VERS_NUMBERS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_K_VERS_NUMBERS , implementation_dba_data: APPS.OKC_K_VERS_NUMBERS_V ,
-
VIEW: APPS.OKC_K_VERS_NUMBERS_V
12.1.1
-
VIEW: APPS.OKE_K_VERS_NUMBERS_V
12.2.2
-
APPS.OKC_K_STS_CHG_ASMBLR_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKE_K_VERS_NUMBERS_V
12.1.1
-
VIEW: OKC.OKC_K_VERS_NUMBERS#
12.2.2
-
VIEW: APPS.OKC_K_VERS_NUMBERS_V
12.2.2
-
View: OKC_K_VERS_NUMBERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_VERS_NUMBERS_V, object_name:OKC_K_VERS_NUMBERS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_K_VERS_NUMBERS , implementation_dba_data: APPS.OKC_K_VERS_NUMBERS_V ,
-
APPS.OKC_K_STS_CHG_ASMBLR_PVT SQL Statements
12.2.2
-
View: OKS_DOCUMENT_VERSIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_DOCUMENT_VERSIONS_V, object_name:OKS_DOCUMENT_VERSIONS_V, status:VALID, product: OKS - Service Contracts , description: This view is used to provide achived versions of a contract , implementation_dba_data: APPS.OKS_DOCUMENT_VERSIONS_V ,
-
View: OKS_DOCUMENT_VERSIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_DOCUMENT_VERSIONS_V, object_name:OKS_DOCUMENT_VERSIONS_V, status:VALID, product: OKS - Service Contracts , description: This view is used to provide achived versions of a contract , implementation_dba_data: APPS.OKS_DOCUMENT_VERSIONS_V ,
-
VIEW: APPS.OKC_KEXP_REPORT_V
12.1.1
-
SYNONYM: APPS.OKC_K_VERS_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
VIEW: APPS.OKC_SALES_TEMPLATES_V
12.2.2
-
SYNONYM: APPS.OKC_K_VERS_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
VIEW: APPS.OKC_KSRCH_REPORT_V
12.2.2
-
VIEW: APPS.OKC_SALES_TEMPLATES_V
12.1.1
-
VIEW: APPS.OKC_KSRCH_REPORT_V
12.1.1
-
VIEW: APPS.OKC_KEXP_REPORT_V
12.2.2
-
APPS.OKC_CVM_PVT SQL Statements
12.2.2
-
View: OKE_K_VERS_NUMBERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_VERS_NUMBERS_V, object_name:OKE_K_VERS_NUMBERS_V, status:VALID, product: OKE - Project Contracts , description: Contract Version Number View , implementation_dba_data: APPS.OKE_K_VERS_NUMBERS_V ,
-
APPS.OKC_CVM_PVT SQL Statements
12.1.1
-
Table: OKC_K_VERS_NUMBERS_H
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_VERS_NUMBERS_H, object_name:OKC_K_VERS_NUMBERS_H, status:VALID, product: OKC - Contracts Core , description: History Table for OKC_K_VERS_NUMBERS , implementation_dba_data: OKC.OKC_K_VERS_NUMBERS_H ,
-
TABLE: OKC.OKC_K_VERS_NUMBERS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_VERS_NUMBERS, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
TABLE: OKC.OKC_K_VERS_NUMBERS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_VERS_NUMBERS, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
PACKAGE BODY: APPS.OKE_FUNDINGALLOCATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_FUNDINGALLOCATION_PVT, status:VALID,
-
Table: OKC_K_VERS_NUMBERS_H
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_VERS_NUMBERS_H, object_name:OKC_K_VERS_NUMBERS_H, status:VALID, product: OKC - Contracts Core , description: This is a mirror image of base table OKC_K_VERS_NUMBERS, please refer to the base table for detailed column level information. , implementation_dba_data: OKC.OKC_K_VERS_NUMBERS_H ,
-
View: OKE_K_VERS_NUMBERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_VERS_NUMBERS_V, object_name:OKE_K_VERS_NUMBERS_V, status:VALID, product: OKE - Project Contracts , description: Contract Version Number View , implementation_dba_data: APPS.OKE_K_VERS_NUMBERS_V ,
-
PACKAGE BODY: APPS.OKC_CVM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CVM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKE_FUNDINGALLOCATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_FUNDINGALLOCATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_PARTY_MERGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_PARTY_MERGE_PUB, status:VALID,
-
View: OKO_SALES_TEMPLATES_V
12.1.1
product: OKO - Contracts for Sales (Obsolete) , description: This view list all sales contract templates. , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.OKC_K_STS_CHG_ASMBLR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_STS_CHG_ASMBLR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKE_ALLOCATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_ALLOCATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_CONTRACT_HDR_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CONTRACT_HDR_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_CVM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CVM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_CONTRACT_HDR_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CONTRACT_HDR_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKE_VERSION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_VERSION_PVT, status:VALID,
-
VIEW: APPS.OKC_LAUNCH_HISTORY_GRID_V
12.1.1
-
PACKAGE BODY: APPS.OKC_HZ_MERGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_HZ_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_IMPORT_INSERT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_INSERT, status:VALID,
-
VIEW: APPS.OKC_LAUNCH_HISTORY_GRID_V
12.2.2
-
PACKAGE BODY: APPS.OKC_HZ_MERGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_HZ_MERGE_PUB, status:VALID,
-
View: OKO_SALES_TEMPLATES_V
12.2.2
product: OKO - Contracts for Sales (Obsolete) , description: This view list all sales contract templates. , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.OKC_PARTY_MERGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_PARTY_MERGE_PUB, status:VALID,