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 ,
-
APPS.OKL_RECEIPTS_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_REV_LOSS_PROV_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_IBINT_PUB dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_KHR_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_CASH_APPL_RULES_PUB dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_WF_K_PROCESS_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_MAINTAIN_FEE_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_STREAM_BILLING_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_WF_K_APPROVE dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_ARINTF_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_SSC_WF dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_BPD_ADVANCED_BILLING_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_INSURANCE_WF dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.ASP_ALERTS_SVC_CONTRACT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKC_HST_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_BILL_SCH dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKC_KSQ_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_AM_PROCESS_ASSET_TRX_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.AHL_UMP_UNITMAINT_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_K_LINE_FIN_EXT_MASTER_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKC_RENEW_PUB dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_QP_INT_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_CUSTOMER_ACCEPTANCE_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_ATTR_DEFAULTS_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.ASP_SVCCONT_CONTENT_PROVIDER dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_INT_EXT_CSH_APP_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKI_DBI_LOAD_CLEB_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKL_K_LINE_FIN_EXT_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.CS_SERVICEREQUEST_UTIL dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKC_ASYNC_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_IMPORT_INSERT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKS_MASS_UPDATE_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKC_CONTRACT_APPROVAL_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKS_AUTO_REMINDER dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_CS_LC_CONTRACT_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKS_BILL_SCH dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKE_K_SECURITY_PKG dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_RECEIPTS_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_ARINTF_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_ACCOUNTING_UTIL dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.ASP_SVCCONTRACT_ALERT_AGENT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_K_LINE_FIN_EXT_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKC_CIM_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKS_MASS_UPD_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_SLA_ACC_SOURCES_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_PAY_INVOICES_DISB_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_CREDIT_LINE_WF dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKC_CONTRACT_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKL_ASSET_SUBSIDY_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2