Search Results okc_k_headers_all_b
Overview
The OKC_K_HEADERS_ALL_B table is the central repository for contract header information within the Oracle E-Business Suite Contracts Core (OKC) module. It serves as the primary entity that groups all associated lines, terms, and conditions for a single contract. This table is fundamental to the contract management lifecycle, storing the master attributes that define a contract's identity, classification, and status. Its design supports multi-organization access through the "_ALL" suffix, meaning it contains data for all operating units, with security typically enforced via views or application logic. The table's integrity and relationships are critical for maintaining accurate contract hierarchies and linkages, such as renewals and amendments.
Key Information Stored
The table stores a comprehensive set of header-level attributes. The primary identifier is the ID column, which is the system-generated primary key (OKC_K_HEADERS_ALL_B_PK). For business identification, the unique key CHR_CHR2_UK enforces uniqueness on the combination of CONTRACT_NUMBER and CONTRACT_NUMBER_MODIFIER, which together form the human-readable contract identifier. Other critical columns include status (STS_CODE), subclass (SCS_CODE), and quality assurance checklist ID (QCL_ID). The table also contains several self-referencing foreign key columns that establish relationships between contracts, such as CHR_ID_AWARD, CHR_ID_RENEWED, CHR_ID_RENEWED_TO, and CHR_ID_RESPONSE, which are essential for tracking contract versions, renewals, and linked documents.
Common Use Cases and Queries
This table is central to reporting on contract portfolios, tracking contract lifecycles, and integrating contract data with other EBS modules like Projects, Service, and Procurement. A common query involves retrieving a contract's basic header information using its business number. For instance, to find a contract's internal ID and status based on its number:
SELECT id, sts_code, scs_code FROM okc_k_headers_all_b WHERE contract_number = '<Number>' AND contract_number_modifier = '<Modifier>';
Another frequent use case is analyzing contract relationships, such as finding all contracts renewed from a specific parent contract:
SELECT child.id, child.contract_number FROM okc_k_headers_all_b parent, okc_k_headers_all_b child WHERE parent.id = child.chr_id_renewed AND parent.contract_number = '<Parent_Number>';
Data from this table is typically accessed via the Contracts Core public APIs or through dedicated views for reporting purposes.
Related Objects
The OKC_K_HEADERS_ALL_B table has extensive relationships within the Contracts Core schema, as documented in the provided metadata. Key dependencies include:
- Primary Keys: OKC_K_HEADERS_ALL_B_PK (ID), CHR_CHR2_UK (CONTRACT_NUMBER, CONTRACT_NUMBER_MODIFIER).
- Foreign Keys (Referenced by this table):
- OKC_K_HEADERS_ALL_B (self-reference via CHR_ID_AWARD, CHR_ID_RENEWED, CHR_ID_RENEWED_TO, CHR_ID_RESPONSE)
- OKC_QA_CHECK_LISTS_B (via QCL_ID)
- OKC_SUBCLASSES_B (via SCS_CODE)
- OKC_STATUSES_B (via STS_CODE)
- Foreign Keys (Referencing this table):
- OKC_K_GRPINGS (via INCLUDED_CHR_ID)
- OKC_K_HEADERS_ALL_B (self-reference, as listed above)
- OKC_OPERATION_LINES (via SUBJECT_CHR_ID and OBJECT_CHR_ID)
These relationships illustrate that the contract header is the anchor point for contract groupings, operational lines, and its own versioning hierarchy.
-
Table: OKC_K_HEADERS_ALL_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_HEADERS_ALL_B, object_name:OKC_K_HEADERS_ALL_B, status:VALID, product: OKC - Contracts Core , description: Stores header level attributes of a Contract. It groups all the lines and terms and conditions of a contract , implementation_dba_data: OKC.OKC_K_HEADERS_ALL_B ,
-
Table: OKC_OPERATION_LINES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_OPERATION_LINES, object_name:OKC_OPERATION_LINES, status:VALID, product: OKC - Contracts Core , description: The Operation Line provides additional information about what did happen or will happen for an Operation Instance. , implementation_dba_data: OKC.OKC_OPERATION_LINES ,
-
Table: OKC_K_HEADERS_ALL_BH
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_HEADERS_ALL_BH, object_name:OKC_K_HEADERS_ALL_BH, status:VALID, product: OKC - Contracts Core , description: This is a mirror image of base table OKC_K_HEADERS_ALL_B, please refer to the base table for detailed column level information , implementation_dba_data: OKC.OKC_K_HEADERS_ALL_BH ,
-
Table: OKC_QA_CHECK_LISTS_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_QA_CHECK_LISTS_B, object_name:OKC_QA_CHECK_LISTS_B, status:VALID, product: OKC - Contracts Core , description: Associates a list of quality assurance processes with a specific contract or contract template. , implementation_dba_data: OKC.OKC_QA_CHECK_LISTS_B ,
-
Table: OKC_STATUSES_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_STATUSES_B, object_name:OKC_STATUSES_B, status:VALID, product: OKC - Contracts Core , description: User defined values that define a contract's status. , implementation_dba_data: OKC.OKC_STATUSES_B ,
-
Table: OKC_K_GRPINGS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_GRPINGS, object_name:OKC_K_GRPINGS, status:VALID, product: OKC - Contracts Core , description: This table holds the membership of a contract group for both contracts and other contract groups. , implementation_dba_data: OKC.OKC_K_GRPINGS ,
-
Table: OKC_SUBCLASSES_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_SUBCLASSES_B, object_name:OKC_SUBCLASSES_B, status:VALID, product: OKC - Contracts Core , description: Determines the line style hiearchy of the contract, the valid rule groups, the valid party roles, and the commonly used standard article sets. , implementation_dba_data: OKC.OKC_SUBCLASSES_B ,
-
View: OKC_EBIZ_KHEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_EBIZ_KHEADERS_V, object_name:OKC_EBIZ_KHEADERS_V, status:VALID, product: OKC - Contracts Core , description: Find grid for eBusiness Integration , implementation_dba_data: APPS.OKC_EBIZ_KHEADERS_V ,
-
View: OKC_EBIZ_KHEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_EBIZ_KHEADERS_V, object_name:OKC_EBIZ_KHEADERS_V, status:VALID, product: OKC - Contracts Core , description: Find grid for eBusiness Integration , implementation_dba_data: APPS.OKC_EBIZ_KHEADERS_V ,
-
View: OKC_K_HEADERS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_ALL_V, object_name:OKC_K_HEADERS_ALL_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_K_HEADERS_ALL_V ,
-
View: OKC_K_HEADERS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_ALL_V, object_name:OKC_K_HEADERS_ALL_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_K_HEADERS_ALL_V ,