Results for “chg_request_num”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The APPS.OKE_K_HISTORY_ORGNZR_V view is a reporting construct within the Oracle E-Business Suite Project Contracts (OKE) module. It presents contract header version history in a form suitable for display within an Organizer (folder-style) window or for query-driven reporting. The view consolidates version numbering data from the contract header version table and enriches it with descriptive lookup meanings and change-request identifiers, allowing users and integrations to see not only which version of a contract header exists but also why that version was created and whether a change request drove it.
Because contract versioning in OKE captures a dated audit trail of header modifications, this view functions as a convenient, pre-joined read model. Rather than forcing a report author to join the version history table, the FND lookup framework, and the change request table manually, the view delivers those relationships in a single object. It is defined with STATUS = VALID in the ETRM 12.2.2 documentation and is deployed in the APPS schema, which is the conventional location for seeded, end-user-facing database objects. The presence of VERSION_REASON_CODE as a documented column is significant: that column answers the exact search term of interest (version_reason_code), which classifies each historical contract header version by its originating reason.
Underlying Base Objects
The view text joins three objects:
- OKE_K_VERS_NUMBERS_H (synonym, aliased VH) — the contract header version history table. It supplies the surrogate key K_HEADER_ID, the version identifier MAJOR_VERSION, audit columns, the VERSION_REASON_CODE, and the optional CHG_REQUEST_ID.
- FND_LOOKUP_VALUES_VL (view, aliased VR) — the multilingual lookup values view, filtered to VIEW_APPLICATION_ID = 777 and LOOKUP_TYPE = 'VERSION_REASON'. This provides the human-readable VERSION_REASON meaning for each code.
- OKE_CHG_REQUESTS (synonym, aliased CR) — the change request table, joined on CHG_REQUEST_ID to supply CHG_REQUEST_NUM.
The join to the lookup values is an inner join, enforcing that every returned row has a defined reason code. The join to OKE_CHG_REQUESTS is an outer join (CR.CHG_REQUEST_ID (+) = VH.CHG_REQUEST_ID), so versions without an associated change request are still reported, with CHG_REQUEST_NUM left null.
Key Columns
- K_HEADER_ID — foreign key identifying the contract header whose history is being reported.
- MAJOR_VERSION — the sequential version number of the contract header.
- VERSION_DATE — the effective date of the version; note the view select list maps CREATION_DATE a second time into this position, so VERSION_DATE reflects the row creation timestamp of the version record.
- VERSION_REASON_CODE — the lookup code describing why the version was generated.
- VERSION_REASON — the translated MEANING of that code from FND_LOOKUP_VALUES_VL.
- CHG_REQUEST_ID / CHG_REQUEST_NUM — the change request that generated the version, present only when applicable.
- Audit columns — CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN for traceability.
Common Use Cases and Queries
Typical uses include displaying contract version history in an Organizer window, auditing why a contract header changed, and tracing versions back to change requests. A representative query returns the full history for one contract header:
SELECT major_version, version_date, version_reason_code, version_reason, chg_request_num
FROM apps.oke_k_history_orgnzr_v
WHERE k_header_id = :p_header_id
ORDER BY major_version;
A second pattern profiles version activity by reason across a portfolio:
SELECT version_reason_code, version_reason, COUNT(*) version_count
FROM apps.oke_k_history_orgnzr_v
GROUP BY version_reason_code, version_reason
ORDER BY version_count DESC;
A third joins the view to contract header data to link versions to specific agreements, filtering on CHG_REQUEST_NUM where change-request traceability is required. Because the object is a view, it should be queried read-only; the underlying history tables remain the system of record.
-
View: OKE_K_HISTORY_ORGNZR_V 12.1.1
Contract Header Version History View for Organizer
APPS.OKE_K_HISTORY_ORGNZR_V·↳ FND_LOOKUP_VALUES_VL·↳ OKE_CHG_REQUESTS·↳ OKE_K_VERS_NUMBERS_H·Explore OKE module →
-
View: OKE_ORG_REL_ENTITIES_V 12.2.2
Related Documents View for Contract Organizer
APPS.OKE_ORG_REL_ENTITIES_V·↳ OKE_CHG_REQUESTS·↳ OKE_K_HEADERS·↳ OKE_K_HEADERS_V·Explore OKE module →
-
View: OKE_ORG_REL_ENTITIES_V 12.1.1
Related Documents View for Contract Organizer
APPS.OKE_ORG_REL_ENTITIES_V·↳ OKE_CHG_REQUESTS·↳ OKE_K_HEADERS·↳ OKE_K_HEADERS_V·Explore OKE module →
-
View: OKE_K_HISTORY_ORGNZR_V 12.2.2
Contract Header Version History View for Organizer
APPS.OKE_K_HISTORY_ORGNZR_V·↳ FND_LOOKUP_VALUES_VL·↳ OKE_CHG_REQUESTS·↳ OKE_K_VERS_NUMBERS_H·Explore OKE module →
-
View: OKE_K_COMMUNICATIONS_V 12.1.1
Contract communications view
APPS.OKE_K_COMMUNICATIONS_V·↳ FND_LOOKUP_VALUES_VL·↳ OKC_K_LINES_B·↳ OKE_CHG_REQUESTS·Explore OKE module →
-
View: OKE_CHG_REQUESTS_V 12.2.2
View for contract change requests
APPS.OKE_CHG_REQUESTS_V·↳ FND_LOOKUP_VALUES_VL·↳ OKE_CHG_REQUESTS·↳ OKE_CHG_STATUSES_B·Explore OKE module →
-
PACKAGE: APPS.OKE_UTILS 12.2.2
-
PACKAGE BODY: APPS.OKE_UTILS 12.1.1
-
stores information about contract change requests
-
stores information about contract change requests
-
View: OKE_CHG_REQUESTS_V 12.1.1
View for contract change requests
APPS.OKE_CHG_REQUESTS_V·↳ FND_LOOKUP_VALUES_VL·↳ OKE_CHG_REQUESTS·↳ OKE_CHG_STATUSES_B·Explore OKE module →
-
PACKAGE: APPS.OKE_UTILS 12.1.1
-
PACKAGE BODY: APPS.OKE_UTILS 12.2.2
-
View: OKE_K_COMMUNICATIONS_V 12.2.2
Contract communications view
APPS.OKE_K_COMMUNICATIONS_V·↳ FND_LOOKUP_VALUES_VL·↳ OKC_K_LINES_B·↳ OKE_CHG_REQUESTS·Explore OKE module →
-
VIEW: OKE.OKE_CHG_REQUESTS# 12.2.2
-
VIEW: OKE.OKE_CHG_REQUESTS# 12.2.2
-
TABLE: OKE.OKE_CHG_REQUESTS 12.1.1
-
TABLE: OKE.OKE_CHG_REQUESTS 12.2.2
-
PACKAGE: APPS.OKE_UTILS 12.1.1
-
PACKAGE: APPS.OKE_UTILS 12.2.2