Search Results okc_contacts_h
Overview
OKC_CONTACTS_H is the history (audit) table for OKC_CONTACTS, owned by the OKC schema within the Contracts Core module of Oracle E-Business Suite. It preserves prior and current versioned copies of contact records attached to contract documents, storing the same attribute set as the base table across 37 columns while adding a version discriminator that enables point-in-time reconstruction. In Oracle EBS 12.1.1 and 12.2.2, OKC_CONTACTS_H is populated whenever a contract contact row is inserted, updated, or versioned, and it is read primarily by contract history and audit inquiries rather than by transactional entry forms.
From a Data Vault modeling perspective (heuristic, derived from the documented key and foreign-key structure), OKC_CONTACTS_H is best characterized as a standalone satellite-like or history structure: it carries descriptive contact attributes keyed by a surrogate ID plus MAJOR_VERSION, with only a single residual reference to SECURITY_GROUP_ID. The metadata classifies it as "standalone," meaning it does not participate in the dense link network seen in the operational contact tables.
Key Information Stored
The table is keyed by the unique index OKC_CONTACTS_H_PK on (ID, MAJOR_VERSION), which is also mirrored by OKC_CONTACTS_H_U1. ID is the surrogate identifier inherited from the base OKC_CONTACTS record; MAJOR_VERSION identifies which historical iteration of that record the row represents. Both are required to retrieve a specific historical state.
The principal business content columns include:
- CPL_ID — identifier of the contact point or party linkage associated with the contact.
- CRO_CODE — the contact role code defining the party's function on the contract.
- DNZ_CHR_ID — the contract (contract header) identifier to which the contact belongs.
- OBJECT1_ID1 / OBJECT1_ID2 and JTOT_OBJECT1_CODE — the layered object reference and its type code that resolve the contact's owning entity.
- CONTACT_SEQUENCE — ordering of contacts within a contract.
- PRIMARY_YN — flags whether the contact is the primary contact for the contract.
- RESOURCE_CLASS — classification of the contact resource (for example, party or resource type).
- SALES_GROUP_ID — sales group assignment associated with the contact.
- START_DATE / END_DATE — effective dating of the contact assignment.
- SECURITY_GROUP_ID — the foreign key to FND_SECURITY_GROUPS that enforces multi-org / security-group access control.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — the standard Oracle EBS descriptive flexfield (DFF) columns.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER — the standard WHO audit columns and optimistic locking version counter.
Common Use Cases and Queries
The table supports audit and point-in-time reporting. A typical query retrieves the latest historical version of a contact:
- SELECT * FROM okc.okc_contacts_h WHERE id = :p_id AND major_version = (SELECT MAX(major_version) FROM okc.okc_contacts_h WHERE id = :p_id);
- Joining to FND_SECURITY_GROUPS on security_group_id to enforce data segregation in custom reports.
- Comparing successive MAJOR_VERSION rows to identify changes in PRIMARY_YN, CRO_CODE, or RESOURCE_CLASS over a contract's life for change-audit extracts.
- Feeding contract audit reports, DFF-dependent extracts, and historical reconciliation between OKC_CONTACTS and its archived states.
Related Objects
- OKC_CONTACTS — the base transactional table whose rows are versioned into this history table.
- FND_SECURITY_GROUPS — referenced via the SECURITY_GROUP_ID foreign key; required for security-group filtering.
- OKC_CONTACTS_H_PK / OKC_CONTACTS_H_U1 — unique indexes enforcing (ID, MAJOR_VERSION) uniqueness.
- OKC_CONTACT_ROLES / contact role reference objects — resolve CRO_CODE into meaningful role names.
- OKC_K_HEADERS (contract headers) — linked through DNZ_CHR_ID for contract-level reporting.
- OKC_CONTACT_POINTS — associated via CPL_ID for contact point detail.
-
Table: OKC_CONTACTS_H
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONTACTS_H, object_name:OKC_CONTACTS_H, status:VALID, product: OKC - Contracts Core , description: History Table for table OKC_CONTACTS , implementation_dba_data: OKC.OKC_CONTACTS_H ,
-
Table: OKC_CONTACTS_H
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONTACTS_H, object_name:OKC_CONTACTS_H, status:VALID, product: OKC - Contracts Core , description: This is a mirror image of base table OKC_CONTACTS, please refer to the base table for detailed column level information. , implementation_dba_data: OKC.OKC_CONTACTS_H ,
-
SYNONYM: APPS.OKC_CONTACTS_H
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_CONTACTS_H, status:VALID,
-
SYNONYM: APPS.OKC_CONTACTS_H
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_CONTACTS_H, status:VALID,
-
VIEW: OKC.OKC_CONTACTS_H#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_CONTACTS_H#, status:VALID,
-
VIEW: APPS.OKS_RESOURCES_HV
12.2.2
-
VIEW: APPS.OKS_RESOURCES_HV
12.1.1
-
VIEW: APPS.OKC_CONTACTS_HV
12.2.2
-
VIEW: APPS.OKC_CONTACTS_HV
12.1.1
-
VIEW: OKC.OKC_CONTACTS_H#
12.2.2
-
TABLE: OKC.OKC_CONTACTS_H
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONTACTS_H, object_name:OKC_CONTACTS_H, status:VALID,
-
TABLE: OKC.OKC_CONTACTS_H
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONTACTS_H, object_name:OKC_CONTACTS_H, status:VALID,
-
View: OKS_RESOURCES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_HV, object_name:OKS_RESOURCES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Resources , implementation_dba_data: APPS.OKS_RESOURCES_HV ,
-
View: OKS_RESOURCES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_HV, object_name:OKS_RESOURCES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Resources , implementation_dba_data: APPS.OKS_RESOURCES_HV ,
-
PACKAGE BODY: APPS.OKC_CTC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CTC_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CTC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CTC_PVT, status:VALID,
-
View: OKC_CONTACTS_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONTACTS_HV, object_name:OKC_CONTACTS_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_CONTACTS. , implementation_dba_data: APPS.OKC_CONTACTS_HV ,
-
View: OKC_CONTACTS_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONTACTS_HV, object_name:OKC_CONTACTS_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_CONTACTS. , implementation_dba_data: APPS.OKC_CONTACTS_HV ,
-
VIEW: APPS.OKS_RESOURCES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_HV, object_name:OKS_RESOURCES_HV, status:VALID,
-
VIEW: APPS.OKS_RESOURCES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_HV, object_name:OKS_RESOURCES_HV, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.OKC_VERSION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_VERSION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_VERSION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_VERSION_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.OKC_CONTACTS_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONTACTS_HV, object_name:OKC_CONTACTS_HV, status:VALID,
-
VIEW: APPS.OKC_CONTACTS_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONTACTS_HV, object_name:OKC_CONTACTS_HV, status:VALID,
-
APPS.OKC_CTC_PVT SQL Statements
12.1.1
-
APPS.OKC_CTC_PVT SQL Statements
12.2.2
-
APPS.OKC_CTC_PVT dependencies on OKC_CONTACTS_H
12.1.1
-
APPS.OKC_VERSION_PVT dependencies on OKC_CONTACTS_H
12.1.1
-
APPS.OKC_CTC_PVT dependencies on OKC_CONTACTS_H
12.2.2
-
APPS.OKC_VERSION_PVT dependencies on OKC_CONTACTS_H
12.2.2
-
APPS.OKC_VERSION_PVT SQL Statements
12.2.2
-
APPS.OKC_VERSION_PVT SQL Statements
12.1.1
-
APPS.OKC_VERSION_PVT dependencies on OKC_CONTACTS
12.2.2
-
APPS.OKC_VERSION_PVT dependencies on OKC_CONTACTS
12.1.1
-
PACKAGE BODY: APPS.OKE_VERSION_PVT
12.1.1
-
PACKAGE BODY: APPS.OKE_VERSION_PVT
12.2.2
-
APPS.OKC_CTC_PVT dependencies on OKC_CONTACTS
12.1.1
-
APPS.OKC_CTC_PVT dependencies on OKC_CONTACTS
12.2.2
-
PACKAGE BODY: APPS.OKC_CTC_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_CTC_PVT
12.2.2