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 ,
-
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 ,
-
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 ,
-
Table: OKC_REP_CONTACT_ROLES_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTACT_ROLES_B, object_name:OKC_REP_CONTACT_ROLES_B, status:VALID, product: OKC - Contracts Core , description: Stores the user-defined contact roles. , implementation_dba_data: OKC.OKC_REP_CONTACT_ROLES_B ,
-
Table: OKC_REP_CONTRACT_ACCESS
12.1.1
product: OKC - Contracts Core , description: Stores the access control list information for a contract. , implementation_dba_data: Not implemented in this database ,
-
Table: OKC_REP_CON_APPROVALS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CON_APPROVALS, object_name:OKC_REP_CON_APPROVALS, status:VALID, product: OKC - Contracts Core , description: This table stores a Contract's approval data. . , implementation_dba_data: OKC.OKC_REP_CON_APPROVALS ,
-
Table: OKC_REP_CONTACT_ROLES_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTACT_ROLES_B, object_name:OKC_REP_CONTACT_ROLES_B, status:VALID, product: OKC - Contracts Core , description: This table stores user-defined Contact Roles. , implementation_dba_data: OKC.OKC_REP_CONTACT_ROLES_B ,
-
Table: OKC_REP_CONTRACT_ACCESS
12.2.2
product: OKC - Contracts Core , description: Stores the access control list information for a contract. , implementation_dba_data: Not implemented in this database ,
-
Table: OKC_REP_CON_STATUS_HIST
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CON_STATUS_HIST, object_name:OKC_REP_CON_STATUS_HIST, status:VALID, product: OKC - Contracts Core , description: This table stores the status changes history of a contract. Each version of a contract can have its own status history. , implementation_dba_data: OKC.OKC_REP_CON_STATUS_HIST ,
-
Table: OKC_REP_CONTRACT_PARTIES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTRACT_PARTIES, object_name:OKC_REP_CONTRACT_PARTIES, status:VALID, product: OKC - Contracts Core , description: This table stores the Parties in a Contract. The Party can be from PO_VENDORS, HZ_PARTIES, or HR_ALL_ORGANIZATION_UNITS. A PARTY_ID with a PARTY_ROLE_CODE of SUPPLIER-ORG comes from PO_VENDORS; A PARTY_ID with a PARTY_ROLE_CODE of CUSTOMER , implementation_dba_data: OKC.OKC_REP_CONTRACT_PARTIES ,
-
View: OKC_REP_DOC_VERSIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_REP_DOC_VERSIONS_V, object_name:OKC_REP_DOC_VERSIONS_V, status:VALID, product: OKC - Contracts Core , description: This view returns repository contract versions , implementation_dba_data: APPS.OKC_REP_DOC_VERSIONS_V ,
-
View: OKC_REP_DOC_VERSIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_REP_DOC_VERSIONS_V, object_name:OKC_REP_DOC_VERSIONS_V, status:VALID, product: OKC - Contracts Core , description: This view returns repository contract versions , implementation_dba_data: APPS.OKC_REP_DOC_VERSIONS_V ,
-
Table: OKC_BUS_DOC_TYPES_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_BUS_DOC_TYPES_B, object_name:OKC_BUS_DOC_TYPES_B, status:VALID, product: OKC - Contracts Core , description: Stores all business document types and preferences related to those documents. This information is seeded by each product team that integrates with Oracle Contracts to implement Contract authoring. , implementation_dba_data: OKC.OKC_BUS_DOC_TYPES_B ,
-
Table: OKC_BUS_DOC_TYPES_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_BUS_DOC_TYPES_B, object_name:OKC_BUS_DOC_TYPES_B, status:VALID, product: OKC - Contracts Core , description: Stores all business document types and preferences related to those documents. This information is seeded by each product team that integrates with Oracle Contracts to implement Contract authoring. , implementation_dba_data: OKC.OKC_BUS_DOC_TYPES_B ,
-
Table: OKC_REP_PARTY_CONTACTS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_PARTY_CONTACTS, object_name:OKC_REP_PARTY_CONTACTS, status:VALID, product: OKC - Contracts Core , description: This table stores the contacts for a party in a contract. The contact record can be from PO_VENDOR_CONTACTS, HZ_PARTIES, or PER_PEOPLE_F, depending on the party role of the contact party. A contact whose party has a role of SUPPLIER_ORG c , implementation_dba_data: OKC.OKC_REP_PARTY_CONTACTS ,
-
Table: OKC_REP_CONTRACT_PARTIES
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REP_CONTRACT_PARTIES, object_name:OKC_REP_CONTRACT_PARTIES, status:VALID, product: OKC - Contracts Core , description: Stores the Parties in a contract. The party can be from PO_VENDORS, HZ_PARTIES, or HR_ALL_ORGANIZATION_UNITS. A PARTY_ID with a PARTY_ROLE_CODE of SUPPLIER comes from PO_VENDORS; A PARTY_ID with a PARTY_ROLE_CODE of CUSTOMER or PARTNER com , implementation_dba_data: OKC.OKC_REP_CONTRACT_PARTIES ,