Search Results okc_rep_contracts_all
Overview
The OKC_REP_CONTRACTS_ALL table is the central repository for contract header information within the Oracle E-Business Suite Contracts Core module (OKC). It serves as the primary table for storing the latest version of all contracts authored using the Oracle Contracts Repository. As a multi-org table (indicated by the "_ALL" suffix), it contains data for all operating units, with security typically enforced via views like OKC_REP_CONTRACTS. Its role is foundational to the Contracts application, acting as the master record from which contract relationships, parties, terms, and other detailed components are linked.
Key Information Stored
The table's primary key is the CONTRACT_ID, a unique system-generated identifier for each contract. Based on its documented foreign key relationships, other critical columns include CONTRACT_TYPE, which links to the OKC_BUS_DOC_TYPES_B table to define the contract's business document classification (e.g., Sales Agreement, Purchase Agreement). The NOTIFY_CONTACT_ROLE_ID links to the OKC_REP_CONTACT_ROLES_B table, identifying a default contact role for notifications. While the full column list is not detailed in the provided metadata, a typical contract header table would also store attributes such as contract number, start/end dates, status, description, authoring information, and the associated operating unit (ORG_ID).
Common Use Cases and Queries
This table is central to reporting and data extraction for contract management. Common use cases include generating a master list of all active contracts, analyzing contracts by type, and auditing contract creation. A typical query to retrieve basic contract information for a specific operating unit would join to the document types table for clarity.
- Sample Query: Basic Contract List
SELECT ctr.contract_id, ctr.contract_number, ctr.start_date, ctr.end_date, ctr.status, typ.name contract_type
FROM okc_rep_contracts_all ctr,
okc_bus_doc_types_b typ
WHERE ctr.contract_type = typ.bus_doc_type_code
AND ctr.org_id = :p_org_id
ORDER BY ctr.creation_date DESC; - Reporting Use Case: This table is the starting point for most operational reports, such as contract expiration dashboards or volume analysis by type and status.
Related Objects
As indicated by the foreign keys, OKC_REP_CONTRACTS_ALL has several critical child tables that store detailed contract components, forming the core data model for repository contracts.
- OKC_REP_CONTRACT_PARTIES: Stores all parties (e.g., customer, supplier, internal contacts) associated with a contract.
- OKC_REP_CONTRACT_RELS: Manages relationships between contracts, such as amendments, renewals, or hierarchies.
- OKC_REP_CONTRACT_ACCESS: Holds security rules defining which users or roles can view or modify the contract.
- OKC_BUS_DOC_TYPES_B: Reference table for valid contract types.
- OKC_REP_CONTACT_ROLES_B: Reference table for valid contact roles, linked via the NOTIFY_CONTACT_ROLE_ID.
-
Table: OKC_REP_CONTRACTS_ALL
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTRACTS_ALL, object_name:OKC_REP_CONTRACTS_ALL, status:VALID, product: OKC - Contracts Core , description: This is the main Contracts table. This table stores the latest version of all Repository-authored contracts. , implementation_dba_data: OKC.OKC_REP_CONTRACTS_ALL ,
-
Table: OKC_REP_CONTRACTS_ALL
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTRACTS_ALL, object_name:OKC_REP_CONTRACTS_ALL, status:VALID, product: OKC - Contracts Core , description: This table is the main Contracts table. This table stores the latest version of all contracts authored in Contract Repository. , implementation_dba_data: OKC.OKC_REP_CONTRACTS_ALL ,
-
APPS.OKC_REP_STATUS_UPDATE_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_EXP_NTF_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_STATUS_UPDATE_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_CONTRACT_PROCESS_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_UPD_CON_ADMIN_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_CLOSEOUT_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_QA_CHECK_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_UPD_CON_ADMIN_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_CONTRACT_PROCESS_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_QA_CHECK_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_SEARCH_UTIL_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_UTIL_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_API dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_SIGN_WF_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_XPRT_REP_INT_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_WF_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_REP_UTIL_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_XPRT_REP_INT_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_EXP_NTF_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_TERMS_MIGRATE_GRP dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_TERMS_QA_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_SEARCH_UTIL_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.1.1
-
APPS.OKC_IMP_RECORD_TYPES dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_CONTRACT_IMP_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_WF_PVT dependencies on OKC_REP_CONTRACTS_ALL
12.2.2
-
APPS.OKC_REP_CLOSEOUT_PVT dependencies on OKC_REP_CONTRACT_USAGES
12.2.2
-
APPS.OKC_REP_CLOSEOUT_PVT SQL Statements
12.2.2
-
APPS.OKC_REP_UTIL_PVT dependencies on OKC_REP_CONTRACT_PARTIES
12.2.2
-
APPS.OKC_REP_UTIL_PVT dependencies on OKC_REP_CONTRACT_PARTIES
12.1.1
-
APPS.OKC_REP_CONTRACT_TEXT_IDX_PVT SQL Statements
12.2.2
-
APPS.OKC_REP_CONTRACT_TEXT_IDX_PVT SQL Statements
12.1.1
-
APPS.OKC_REP_SIGN_WF_PVT SQL Statements
12.2.2
-
APPS.OKC_REP_CONTRACT_IMP_PVT dependencies on OKC_REP_CONTRACT_RELS
12.2.2
-
APPS.OKC_REP_EXP_NTF_PVT dependencies on OKC_REP_CONTRACT_VERS
12.2.2
-
Table: OKC_REP_CONTRACT_RELS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTRACT_RELS, object_name:OKC_REP_CONTRACT_RELS, status:VALID, product: OKC - Contracts Core , description: This table stores a relationship between two contracts that are created in Repository. , implementation_dba_data: OKC.OKC_REP_CONTRACT_RELS ,
-
APPS.OKC_REP_EXP_NTF_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKC_REP_CONTRACTS_ALL_DFV
12.1.1
-
Table: OKC_REP_CONTRACT_RELS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTRACT_RELS, object_name:OKC_REP_CONTRACT_RELS, status:VALID, product: OKC - Contracts Core , description: Stores the relationship between two contracts. The two related contracts are CONTRACT_ID and RELATED_CONTRACT_ID. RELATED_CONTRACT_ROLE is the role of contract RELATED_CONTRACT_ID. , implementation_dba_data: OKC.OKC_REP_CONTRACT_RELS ,
-
APPS.OKC_REP_CONTRACT_IMP_PVT dependencies on OKC_REP_CONTRACT_VERS
12.2.2
-
VIEW: APPS.OKC_REP_DOC_VERSIONS_V
12.1.1
-
APPS.OKC_REP_CONTRACT_PROCESS_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKC_REP_DOC_VERSIONS_V
12.2.2
-
APPS.OKC_REP_QA_CHECK_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.OKC_REP_CONTRACTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_REP_CONTRACTS_ALL, status:VALID,
-
APPS.OKC_REP_UPD_CON_ADMIN_PVT dependencies on OKC_REP_CONTRACTS
12.2.2
-
SYNONYM: APPS.OKC_REP_CONTRACTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_REP_CONTRACTS_ALL, status:VALID,
-
APPS.OKC_REP_CONTRACT_IMP_PVT SQL Statements
12.2.2
-
APPS.OKC_REP_SIGN_WF_PVT dependencies on OKC_REP_SIGNATURE_DETAILS
12.2.2