Search Results okc_rep_contracts_all
Overview
OKC_REP_CONTRACTS_ALL is the master repository table for the Oracle Contracts Core (OKC) module in Oracle E-Business Suite. As documented in the ETRM metadata, this is the main Contracts table, storing the latest version of all Repository-authored contracts. Within the OKC schema, it functions as the authoritative record from which contract parties, relationships, access controls, and related business documents are derived. The table is central to contract authoring, negotiation tracking, approval routing, and lifecycle management across the enterprise.
From a Data Vault modeling perspective, the FK-based heuristic classifies OKC_REP_CONTRACTS_ALL as hub-leaning. It is anchored by a single, stable surrogate primary key (CONTRACT_ID) and acts as the integration point for multiple downstream satellite and link structures. This suggests the table behaves as a business hub for contract identity, with descriptive attributes carried at the same grain and numerous dependent objects attaching through foreign keys. The presence of SOURCE_CODE, ORIG_SYSTEM_REFERENCE_CODE, and related columns further supports its role as a canonical contract registry.
Key Information Stored
The table exposes 70 documented columns in ETRM 12.2.2. The most operationally significant ones are:
- CONTRACT_ID — Surrogate primary key defined by OKC_REP_CONTRACTS_ALL_PK. Also backed by unique index OKC_REP_CONTRACTS_ALL_U1, making it the definitive business-key candidate.
- CONTRACT_NUMBER and CONTRACT_NAME — Human-readable identifiers used in search and reporting.
- CONTRACT_VERSION_NUM and LATEST_SIGNED_VER_NUMBER — Version tracking for the contract and its most recent signed revision.
- CONTRACT_TYPE — Foreign key to OKC_BUS_DOC_TYPES_B, classifying the business document type.
- CONTRACT_STATUS_CODE — Current lifecycle state (draft, active, terminated, etc.).
- CONTRACT_EFFECTIVE_DATE and CONTRACT_EXPIRATION_DATE — Core term dates.
- CURRENCY_CODE and AMOUNT — Financial value of the contract.
- ORG_ID — Multi-org operating unit context.
- AUTHORING_PARTY_CODE and OWNER_ID — Ownership and origination.
- TERMINATION_DATE, CANCELLATION_DATE, and their associated comment fields — Lifecycle exit tracking.
- WF_ITEM_TYPE and WF_ITEM_KEY — Workflow linkage for approval processes.
- NOTIFY_CONTACT_ROLE_ID — Foreign key to OKC_REP_CONTACT_ROLES_B for expiration notification routing.
- EXPIRE_NTF_FLAG and EXPIRE_NTF_PERIOD — Notification configuration.
- OBJECT_VERSION_NUMBER — Optimistic locking for concurrent updates.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY — Standard audit columns.
Common Use Cases and Queries
Reporting and integration scenarios frequently query OKC_REP_CONTRACTS_ALL to list active contracts, track expirations, or reconcile contract data with purchasing and receivables. A typical pattern retrieves contracts nearing expiration:
SELECT CONTRACT_ID, CONTRACT_NUMBER, CONTRACT_NAME, CONTRACT_EXPIRATION_DATE FROM OKC.OKC_REP_CONTRACTS_ALL WHERE ORG_ID = :org_id AND CONTRACT_STATUS_CODE = 'ACTIVE' AND CONTRACT_EXPIRATION_DATE BETWEEN SYSDATE AND SYSDATE + 90;- Join to OKC_BUS_DOC_TYPES_B on CONTRACT_TYPE = DOCUMENT_TYPE_ID to categorize contracts by type.
- Join to OKC_REP_CONTRACT_PARTIES on CONTRACT_ID to retrieve parties and their roles.
- Link to workflow tables via WF_ITEM_TYPE and WF_ITEM_KEY to report on pending approvals.
Because CONTRACT_ID is a reliable unique key, this table is a preferred driving source for extracts into data warehouses and for custom concurrent programs.
Related Objects
- OKC_BUS_DOC_TYPES_B — Referenced via CONTRACT_TYPE; supplies document type definitions.
- OKC_REP_CONTACT_ROLES_B — Referenced via NOTIFY_CONTACT_ROLE_ID for notification roles.
- OKC_REP_CONTRACT_PARTIES — Child table joined on CONTRACT_ID; stores contractual parties.
- OKC_REP_CONTRACT_RELS — Child table joined on CONTRACT_ID; captures contract relationships.
- OKC_REP_CONTRACT_ACCESS — Child table joined on CONTRACT_ID; manages access control lists.
- OKC_REP_CONTRACTS_ALL_PK / _U1 — Primary and unique indexes anchored on CONTRACT_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_CLOSEOUT_PVT SQL Statements
12.2.2
-
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
-
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_PROCESS_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKC_REP_DOC_VERSIONS_V
12.1.1
-
VIEW: APPS.OKC_REP_DOC_VERSIONS_V
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_QA_CHECK_PVT SQL Statements
12.2.2
-
APPS.OKC_REP_CONTRACT_IMP_PVT SQL Statements
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_EXP_NTF_PVT SQL Statements
12.1.1
-
APPS.OKC_REP_CONTRACT_PROCESS_PVT SQL Statements
12.2.2
-
APPS.OKC_REP_SEARCH_UTIL_PVT SQL Statements
12.2.2
-
VIEW: OKC.OKC_REP_CONTRACTS_ALL#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_REP_CONTRACTS_ALL#, status:VALID,
-
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 ,
-
APPS.OKC_REP_WF_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.OKC_REP_CONTRACTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_REP_CONTRACTS, status:VALID,
-
APPS.OKC_API SQL Statements
12.2.2
-
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 ,
-
VIEW: APPS.OKC_REP_CONTRACTS_ALL_DFV
12.2.2
-
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 ,
-
APPS.OKC_REP_SEARCH_UTIL_PVT SQL Statements
12.1.1
-
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 ,
-
SYNONYM: APPS.OKC_REP_CONTRACTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_REP_CONTRACTS, status:VALID,
-
VIEW: APPS.OKC_REP_CONTRACTS_ALL_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:OKC_REP_CONTRACTS_ALL_DFV, status:VALID,
-
APPS.OKC_REP_UTIL_PVT SQL Statements
12.1.1
-
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_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 ,
-
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 ,
-
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 ,
-
VIEW: OKC.OKC_REP_CONTRACTS_ALL#
12.2.2
-
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 ,
-
PACKAGE BODY: APPS.OKC_REP_STATUS_UPDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REP_STATUS_UPDATE_PVT, status:VALID,
-
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 ,
-
PACKAGE BODY: APPS.OKC_REP_UPD_CON_ADMIN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REP_UPD_CON_ADMIN_PVT, status:VALID,
-
PACKAGE: APPS.OKC_IMP_RECORD_TYPES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_IMP_RECORD_TYPES, status:VALID,
-
APPS.OKC_REP_QA_CHECK_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKC_REP_EXP_NTF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REP_EXP_NTF_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_REP_EXP_NTF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REP_EXP_NTF_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_REP_UPD_CON_ADMIN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REP_UPD_CON_ADMIN_PVT, status:VALID,