Search Results okc_k_vers_numbers_v
Overview
OKC_K_VERS_NUMBERS_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite, belonging to the OKC (Contracts Core) product family. As documented in the ETRM metadata for release 12.2.2 (and equally applicable to 12.1.1), the view is described simply as a "View for table OKC_K_VERS_NUMBERS." It exposes the version numbering attributes maintained against a contract or contract line (the CHR_ID), together with standard Oracle EBS Who columns. The view is not a transactional form object; rather it is a reporting and integration convenience layer that presents the version-number records in a stable, queryable shape for SQL*Plus, BI Publisher, OAF-based custom pages, and inbound/outbound interfaces that need to read contract version metadata without depending on the physical table name.
Underlying Base Objects
Per the documented metadata, the view is defined over a single base object: the table OKC_K_VERS_NUMBERS, which is referenced through a SYNONYM. The view text confirms this one-to-one relationship:
- SELECT CVMB.ROWID ROW_ID, CVMB.CHR_ID, CVMB.OBJECT_VERSION_NUMBER, CVMB.MAJOR_VERSION, CVMB.MINOR_VERSION, CVMB.CREATED_BY, CVMB.CREATION_DATE, CVMB.LAST_UPDATED_BY, CVMB.LAST_UPDATE_DATE, CVMB.LAST_UPDATE_LOGIN FROM OKC_K_VERS_NUMBERS CVMB
The alias CVMB is applied to OKC_K_VERS_NUMBERS, and the view performs no join, aggregation, or filter. It is therefore a straightforward projection: every row in the base table is surfaced through the view with the same cardinality. Because the view is a simple SELECT, it remains updatable in principle for the base columns, although OKC functionality is expected to be exercised through the Contracts application rather than direct DML.
Key Columns
The documented column list comprises ten columns, mapped directly from the base table:
- ROW_ID — the ROWID of the underlying OKC_K_VERS_NUMBERS row; useful for de-duplication, debugging, and rapid lookups.
- CHR_ID — the identifier of the contract header/line to which the version-number record belongs; the primary join key to other OKC contract objects.
- OBJECT_VERSION_NUMBER — the OAF/ADF optimistic locking token, incremented on each update to detect concurrent modification.
- MAJOR_VERSION — the major version counter for the contract document.
- MINOR_VERSION — the minor version counter, subordinate to the major version.
- CREATED_BY, CREATION_DATE — audit columns recording the user and timestamp of row creation.
- LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — audit columns recording the most recent modification user, timestamp, and login session.
Collectively these columns allow reporting on how many versions a contract has, when they were created or last revised, and by whom.
Common Use Cases and Queries
The view is typically used when reporting on or integrating with contract versioning activity. A common pattern joins the view to contract header information via CHR_ID.
- Listing versions for a specific contract:
SELECT chr_id, major_version, minor_version, creation_date, last_updated_by
FROM okc_k_vers_numbers_v
WHERE chr_id = :p_chr_id
ORDER BY major_version, minor_version; - Auditing recent version-number changes in a period:
SELECT chr_id, major_version, minor_version, last_updated_by, last_update_date
FROM okc_k_vers_numbers_v
WHERE last_update_date >= TRUNC(SYSDATE) - 7; - Extracting distinct version counts per contract for a dashboard:
SELECT chr_id, COUNT(*) version_rows, MAX(major_version) max_major
FROM okc_k_vers_numbers_v
GROUP BY chr_id;
Because the view simply wraps OKC_K_VERS_NUMBERS, its use is appropriate wherever the base table would be queried, while honoring the APPS schema and the documented ETRM object name recommended for supported reporting.
-
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: 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 ,
-
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.OKC_CVM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CVM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_ENTITLEMENTS_WEB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENTITLEMENTS_WEB, status:VALID,
-
PACKAGE BODY: APPS.OKC_REPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REPORT_PVT, status:VALID,
-
VIEW: APPS.POFV_PLAN_PO_LINES
12.2.2
-
SYNONYM: APPS.OKC_K_VERS_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
SYNONYM: APPS.OKC_K_VERS_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
PACKAGE: APPS.OKC_CVM_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CVM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_REPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REPORT_PVT, status:VALID,
-
VIEW: APPS.POFV_PLAN_PO_LINES
12.1.1
-
PACKAGE BODY: APPS.OKS_ENTITLEMENTS_WEB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENTITLEMENTS_WEB, status:VALID,
-
VIEW: APPS.POFV_STD_PO_LINES
12.1.1
-
VIEW: APPS.POFV_PO_LINES
12.1.1
-
VIEW: APPS.POFV_STD_PO_LINES
12.2.2
-
VIEW: APPS.POFV_BKT_PO_LINES
12.1.1
-
VIEW: APPS.POFV_BKT_PO_LINES
12.2.2
-
PACKAGE: APPS.OKC_CVM_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CVM_PVT, status:VALID,
-
VIEW: APPS.POFV_PO_LINES
12.2.2
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
APPS.OKC_REPORT_PVT SQL Statements
12.1.1
-
View: POFV_PLAN_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_LINES, object_name:POFV_PLAN_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PLAN_PO_LINES ,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKL_DEAL_CREAT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREAT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
APPS.OKC_REPORT_PVT SQL Statements
12.2.2
-
View: POFV_PLAN_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_LINES, object_name:POFV_PLAN_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PLAN_PO_LINES ,
-
VIEW: APPS.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,
-
VIEW: APPS.POFV_REQUISITION_LINES
12.1.1
-
VIEW: APPS.POFV_REQUISITION_LINES
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
View: POFV_STD_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_STD_PO_LINES, object_name:POFV_STD_PO_LINES, status:VALID, product: PO - Purchasing , description: Referenced Contract Number , implementation_dba_data: APPS.POFV_STD_PO_LINES ,
-
VIEW: APPS.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,
-
View: POFV_STD_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_STD_PO_LINES, object_name:POFV_STD_PO_LINES, status:VALID, product: PO - Purchasing , description: Referenced Contract Number , implementation_dba_data: APPS.POFV_STD_PO_LINES ,
-
View: POFV_BKT_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_LINES, object_name:POFV_BKT_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_BKT_PO_LINES ,
-
APPS.OKC_CVM_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKL_K_HDRS_FULL_UV
12.1.1
-
View: POFV_BKT_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_LINES, object_name:POFV_BKT_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_BKT_PO_LINES ,
-
VIEW: APPS.POFV_PLAN_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_LINES, object_name:POFV_PLAN_PO_LINES, status:VALID,
-
View: POFV_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PO_LINES, object_name:POFV_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PO_LINES ,
-
APPS.OKC_CVM_PVT SQL Statements
12.2.2
-
View: POFV_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PO_LINES, object_name:POFV_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PO_LINES ,
-
VIEW: APPS.POFV_PLAN_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_LINES, object_name:POFV_PLAN_PO_LINES, status:VALID,
-
VIEW: APPS.POFV_BKT_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_LINES, object_name:POFV_BKT_PO_LINES, status:VALID,
-
VIEW: APPS.POFV_BKT_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_LINES, object_name:POFV_BKT_PO_LINES, status:VALID,
-
VIEW: APPS.OKL_K_HDRS_FULL_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_K_HDRS_FULL_UV, object_name:OKL_K_HDRS_FULL_UV, status:VALID,