Results for “okc_k_headers_bh”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKC_K_HEADERS_BH is the history (audit) table associated with OKC_K_HEADERS_B in the Oracle Contracts Core (OKC) module. In Oracle EBS 12.1.1 and 12.2.2, the "_BH" suffix convention denotes a shadow or history table that captures prior versions of the corresponding base table's rows. Each time a contract header row in OKC_K_HEADERS_B is updated, the pre-change image is preserved in OKC_K_HEADERS_BH, allowing point-in-time reconstruction of contract header master data without impacting transactional performance against the base table.
The table is documented in ETRM under product OKC - Contracts Core with the description "History table for OKC_K_HEADERS_B." Notably, the metadata states that this object is "Not implemented in this database," meaning it appears in the data model lineage but is not physically deployed in the referenced environment. Its Data Vault classification, derived heuristically from the foreign key structure, is hub-leaning. This suggests the table can be modeled as a hub-like structure where the combination of ID and MAJOR_VERSION forms a stable, non-volatile identity for a contract header version. Analysts designing a Data Vault or dimensional model on contract data may treat OKC_K_HEADERS_BH as a historical hub supplying versioned contract header identities.
Key Information Stored
The documented columns of OKC_K_HEADERS_BH are limited to the components of its primary key, OKC_K_HEADERS_BH_PK:
- ID — Surrogate identifier for the contract header. Together with MAJOR_VERSION it forms the composite primary key and represents the closest documented business-key candidate, mirroring the contract header identity in the base table.
- MAJOR_VERSION — Version number of the contract header at the time the history row was written. Because history tables capture the state before an update, each (ID, MAJOR_VERSION) pair uniquely identifies a preserved version of a contract header.
The primary key is composite, distinguishing this history table from single-column surrogate-key designs. Columns inherited from OKC_K_HEADERS_B beyond the key (for example contract number, name, status, and dates) are not enumerated in the provided metadata; the excerpt intentionally lists only the documented key columns. Where the base table carries descriptive attributes, those same attributes typically flow into the history shadow table so that full-row versioning is preserved.
Common Use Cases and Queries
Because history tables are append-only, they support auditing, version comparison, and historical reporting. Typical scenarios include reconstructing a contract header's attributes as of a past date, comparing successive major versions, and auditing who or what changed a contract.
- Retrieve all preserved versions for a contract:
SELECT id, major_version FROM okc_k_headers_bh WHERE id = :contract_id ORDER BY major_version; - Identify the latest historical version prior to a cutoff:
SELECT * FROM okc_k_headers_bh WHERE id = :contract_id AND major_version = (SELECT MAX(major_version) FROM okc_k_headers_bh WHERE id = :contract_id); - Reconcile base versus history counts to detect versioning gaps: join OKC_K_HEADERS_B and OKC_K_HEADERS_BH on ID.
- Feed downstream Data Vault or EDW models where the (ID, MAJOR_VERSION) pair serves as the hub key.
Related Objects
FK relationship data documents the following linkage:
- OKC_K_HEADERS_B — The base (current) contract header table whose historical images are stored here; related on ID and MAJOR_VERSION.
- OKE_K_HEADERS_H — Related through OKE_K_HEADERS_H.K_HEADER_ID and OKE_K_HEADERS_H.MAJOR_VERSION, matching the ID and MAJOR_VERSION columns of OKC_K_HEADERS_BH.
- OKC_K_HEADERS_BH_PK — The composite primary key constraint (ID, MAJOR_VERSION) that enforces version uniqueness.
Because the object is documented as not implemented in the referenced database, verify its physical presence and column completeness in the target environment before relying on it for reporting or ETL design.
-
Table: OKC_K_HEADERS_BH 12.2.2
History table for OKC_K_HEADERS_B.
Not implemented in this database·Explore OKC module →
-
Table: OKC_K_HEADERS_BH 12.1.1
History table for OKC_K_HEADERS_B.
Not implemented in this database·Explore OKC module →
-
List of Header Versions
APPS.OKL_CS_HEADER_VERSION_UV·↳ OKC_K_HEADERS_BH·↳ OKL_K_HEADERS_H·↳ OKL_TRX_CONTRACTS_ALL·Explore OKL module →
-
List of Header Versions
APPS.OKL_CS_HEADER_VERSION_UV·↳ OKC_K_HEADERS_BH·↳ OKL_K_HEADERS_H·↳ OKL_TRX_CONTRACTS_ALL·Explore OKL module →
-
This view is used to provide achived versions of a contract
APPS.OKS_DOCUMENT_VERSIONS_V·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_BH·↳ OKC_K_VERS_NUMBERS·Explore OKS module →
-
This view is used to provide achived versions of a contract
APPS.OKS_DOCUMENT_VERSIONS_V·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_BH·↳ OKC_K_VERS_NUMBERS·Explore OKS module →
-
Lists the contract versions
APPS.OKL_CS_CONTRACT_VERSION_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ OKC_K_HEADERS_BH·Explore OKL module →
-
Lists the contract versions
APPS.OKL_CS_CONTRACT_VERSION_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ OKC_K_HEADERS_BH·Explore OKL module →
-
History view for OKC_CONVERSION_ATTRIBS.
APPS.OKC_CONVERSION_ATTRIBS_HV·↳ OKC_CURRENCY_API·↳ OKC_K_HEADERS_BH·↳ OKC_RULES_BH·Explore OKC module →
-
History view for OKC_CONVERSION_ATTRIBS.
APPS.OKC_CONVERSION_ATTRIBS_HV·↳ OKC_CURRENCY_API·↳ OKC_K_HEADERS_BH·↳ OKC_RULES_BH·Explore OKC module →
-
View for Launchpad History Tab
APPS.OKC_LAUNCH_HISTORY_GRID_V·↳ FND_USER·↳ OKC_CHANGE_REQUESTS_B·↳ OKC_CHANGE_REQUESTS_TL·Explore OKC module →
-
View for Launchpad History Tab
APPS.OKC_LAUNCH_HISTORY_GRID_V·↳ FND_USER·↳ OKC_CHANGE_REQUESTS_B·↳ OKC_CHANGE_REQUESTS_TL·Explore OKC module →
-
View: OKL_CS_LINE_VERSION_UV 12.1.1
List of Line Versions
APPS.OKL_CS_LINE_VERSION_UV·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_BH·↳ OKC_K_ITEMS·Explore OKL module →
-
View: OKL_CS_LINE_VERSION_UV 12.2.2
List of Line Versions
APPS.OKL_CS_LINE_VERSION_UV·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_BH·↳ OKC_K_ITEMS·Explore OKL module →
-
Contract funding source history view
APPS.OKE_K_FUNDING_SOURCES_HV·↳ FND_LOOKUP_VALUES·↳ GL_DAILY_CONVERSION_TYPES·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore OKE module →
-
Contract funding source history view
APPS.OKE_K_FUNDING_SOURCES_HV·↳ FND_LOOKUP_VALUES·↳ GL_DAILY_CONVERSION_TYPES·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore OKE module →
-
View: OKC_K_HEADERS_HV 12.1.1
History view for OKC_K_HEADERS.
APPS.OKC_K_HEADERS_HV·↳ OKC_K_HEADERS_BH·↳ OKC_K_HEADERS_TLH·↳ OKC_UTIL·Explore OKC module →
-
View: OKC_K_HEADERS_HV 12.2.2
History view for OKC_K_HEADERS.
APPS.OKC_K_HEADERS_HV·↳ OKC_K_HEADERS_BH·↳ OKC_K_HEADERS_TLH·↳ OKC_UTIL·Explore OKC module →
-
TABLE: OKS.OKS_K_HEADERS_BH 12.2.2