Search Results oks_interaction_history
Overview
The OKS_INTERACTION_HISTORY table resides in the OKS schema and belongs to the Service Contracts (OKS) module of Oracle E-Business Suite. Its documented purpose is to serve as an interaction history table for auto renewal processing. Within the Service Contracts architecture, auto renewal logic operates against contract headers in OKC_K_HEADERS_B; OKS_INTERACTION_HISTORY captures the audit trail of interactions generated during the renewal lifecycle. Each row records a discrete event or attempt associated with a specific contract header, exposing attributes such as renewal status, task name, task result, and the acting user. This makes the table a useful source for diagnostics and operational reporting on automated renewal runs.
From a data modeling perspective, the metadata classifies this object as satellite-leaning under heuristic Data Vault analysis. That classification is a modeling suggestion rather than a physical design statement: the table carries descriptive, time-stamped attributes that depend on a parent business key supplied by OKC_K_HEADERS_B, which aligns with the behavior of a satellite entity surrounding the contract header hub.
Key Information Stored
The table is documented with 17 columns. The most significant are:
- ID — the surrogate primary key, enforced by OKS_INTERACTION_HISTORY_PK. It uniquely identifies each interaction record and is the recommended join key when relating history rows to other tables.
- CHR_ID — the foreign key to OKC_K_HEADERS_B, linking each interaction to its parent contract header. This is the principal business relationship column.
- CONTRACT_NUMBER and CONTRACT_NUMBER_MODIFIER — the human-readable contract identifier captured at the time of the interaction, useful for reporting without joining to the header table.
- RENEWAL_STATUS — the state of the auto renewal attempt associated with the interaction.
- STATUS — the overall status of the interaction record.
- PARTY_ID — the party associated with the contract interaction.
- USER_ID — the user responsible for or associated with the interaction.
- DESCRIPTION — free-form text describing the interaction.
- TASK_NAME and TASK_RESULT — the auto renewal task executed and its outcome, the core diagnostic fields.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN — standard EBS audit columns that establish when the record was produced and who touched it.
- OBJECT_VERSION_NUMBER — the optimistic locking column used by the EBS framework.
No secondary unique index on business columns is documented; the surrogate ID remains the only documented unique key.
Common Use Cases and Queries
Typical scenarios include troubleshooting failed or skipped auto renewals, auditing which tasks ran for a given contract, and reporting renewal outcomes by party or user. Because TASK_NAME and TASK_RESULT preserve per-attempt detail, the table supports root-cause analysis of renewal programs.
A representative query isolates recent renewal activity for a contract:
- SELECT h.ID, h.CHR_ID, h.CONTRACT_NUMBER, h.RENEWAL_STATUS, h.TASK_NAME, h.TASK_RESULT, h.CREATION_DATE FROM OKS_INTERACTION_HISTORY h WHERE h.CHR_ID = :contract_header_id ORDER BY h.CREATION_DATE DESC;
- Aggregate failures by task: SELECT TASK_NAME, TASK_RESULT, COUNT(*) FROM OKS_INTERACTION_HISTORY WHERE CREATION_DATE >= :start_date GROUP BY TASK_NAME, TASK_RESULT;
- Join to the contract header for additional attributes: SELECT k.CONTRACT_NUMBER, h.RENEWAL_STATUS, h.TASK_RESULT FROM OKS_INTERACTION_HISTORY h, OKC_K_HEADERS_B k WHERE h.CHR_ID = k.ID;
Related Objects
- OKC_K_HEADERS_B — the parent contract header table; joined via OKS_INTERACTION_HISTORY.CHR_ID = OKC_K_HEADERS_B.ID. This is the only foreign key documented for the table and the primary relationship to model.
- OKS_INTERACTION_HISTORY_PK — the primary key constraint on ID, governing uniqueness of interaction records.
- Additional dependent objects in the OKS Service Contracts module — including auto renewal and contract header inquiry views and concurrent program outputs — consume this table as a history source, though they are not enumerated in the documented metadata.
Oracle EBS 12.1.1 and 12.2.2 share this structure; the documented 12.2.2 schema lists all 17 columns, and any client-side extensions should be applied through standard EBS customization practices rather than direct modification of the OKS-owned table.
-
Table: OKS_INTERACTION_HISTORY
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INTERACTION_HISTORY, object_name:OKS_INTERACTION_HISTORY, status:VALID, product: OKS - Service Contracts , description: Interaction history table for auto renewal. , implementation_dba_data: OKS.OKS_INTERACTION_HISTORY ,
-
Table: OKS_INTERACTION_HISTORY
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INTERACTION_HISTORY, object_name:OKS_INTERACTION_HISTORY, status:VALID, product: OKS - Service Contracts , description: Interaction history table for auto renewal. , implementation_dba_data: OKS.OKS_INTERACTION_HISTORY ,
-
VIEW: OKS.OKS_INTERACTION_HISTORY#
12.2.2
owner:OKS, object_type:VIEW, object_name:OKS_INTERACTION_HISTORY#, status:VALID,
-
View: OKS_INTERACTION_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INTERACTION_HIST_V, object_name:OKS_INTERACTION_HIST_V, status:VALID, product: OKS - Service Contracts , description: View on top oks_interaction_history , implementation_dba_data: APPS.OKS_INTERACTION_HIST_V ,
-
VIEW: OKS.OKS_INTERACTION_HISTORY#
12.2.2
-
VIEW: APPS.OKS_INTERACTION_HIST_V
12.2.2
-
SYNONYM: APPS.OKS_INTERACTION_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_INTERACTION_HISTORY, status:VALID,
-
SYNONYM: APPS.OKS_INTERACTION_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_INTERACTION_HISTORY, status:VALID,
-
VIEW: APPS.OKS_INTERACTION_HIST_V
12.1.1
-
View: OKS_INTERACTION_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INTERACTION_HIST_V, object_name:OKS_INTERACTION_HIST_V, status:VALID, product: OKS - Service Contracts , description: View on top oks_interaction_history , implementation_dba_data: APPS.OKS_INTERACTION_HIST_V ,
-
APPS.OKS_INTERACTION_HIST_PVT SQL Statements
12.1.1
-
APPS.OKS_INTERACTION_HIST_PVT SQL Statements
12.2.2
-
TABLE: OKS.OKS_INTERACTION_HISTORY
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INTERACTION_HISTORY, object_name:OKS_INTERACTION_HISTORY, status:VALID,
-
PACKAGE: APPS.OKS_INTERACTION_HIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_INTERACTION_HIST_PVT, status:VALID,
-
PACKAGE: APPS.OKS_INTERACTION_HIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_INTERACTION_HIST_PVT, status:VALID,
-
TABLE: OKS.OKS_INTERACTION_HISTORY
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INTERACTION_HISTORY, object_name:OKS_INTERACTION_HISTORY, status:VALID,
-
PACKAGE BODY: APPS.OKS_INTERACTION_HIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_INTERACTION_HIST_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_INTERACTION_HIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_INTERACTION_HIST_PVT, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design 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
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
Table: OKC_K_HEADERS_B
12.2.2
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: Not implemented in this database ,
-
Table: OKC_K_HEADERS_B
12.1.1
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: Not implemented in this database ,
-
VIEW: APPS.OKS_INTERACTION_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INTERACTION_HIST_V, object_name:OKS_INTERACTION_HIST_V, status:VALID,
-
VIEW: APPS.OKS_INTERACTION_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INTERACTION_HIST_V, object_name:OKS_INTERACTION_HIST_V, status:VALID,
-
PACKAGE: APPS.OKS_INTERACTION_HIST_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_INTERACTION_HIST_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_INTERACTION_HIST_PVT
12.2.2
-
PACKAGE: APPS.OKS_INTERACTION_HIST_PVT
12.2.2
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKS_INTERACTION_HISTORY
12.1.1
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKS_INTERACTION_HISTORY
12.2.2
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKS_INTERACTION_HISTORY
12.1.1
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKS_INTERACTION_HISTORY
12.2.2
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKC_API
12.1.1
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKC_API
12.2.2
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKC_API
12.1.1
-
APPS.OKS_INTERACTION_HIST_PVT dependencies on OKC_API
12.2.2
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1