Search Results oks_inst_hist_details
Overview
The OKS_INST_HIST_DETAILS table resides in the OKS schema and belongs to the Service Contracts (OKS) product family within Oracle E-Business Suite, with identical behavior in releases 12.1.1 and 12.2.2. The table functions as an audit and history ledger for changes to installed base instance records maintained in OKS. Each row captures a discrete transaction against an installed base instance — a quantity change, an amount change, a contract reassignment, a service line or subline move, a customer transfer, or a cancellation — recording both the before-image and the after-image of the affected attributes.
Because every row represents a dated event connecting an existing installed base instance to a transformed state, the table behaves as an event or history table rather than a static master record. The mined Data Vault classification from the documented foreign key structure is "standalone," which is a reasonable heuristic given that only a single FK (SECURITY_GROUP_ID to FND_SECURITY_GROUPS) is documented. From a modeling standpoint, this table is best treated as a satellite or link capturing versioned history of the OKS installed base instance hub, with TRANSACTION_DATE providing the effective dating. The classification should be regarded as a suggestion, since the true hub-and-link topology emerges only when the table is considered alongside OKS_INSTALLED_BASE and the contract tables it references through surrogate IDs.
Key Information Stored
The table carries 42 documented columns. The surrogate primary key is ID, enforced by the constraint OKS_INST_HIST_DETAILS_PK and additionally supported by the unique index OKS_INST_HIST_DETAILS_U1 (ID). There is no separate business-key composite documented beyond ID, so the surrogate key is the sole reliable unique identifier for a history row.
- INS_ID — the installed base instance this history row belongs to; the principal join back to the instance master.
- TRANSACTION_DATE — the effective date of the change; the primary ordering and point-in-time reporting column.
- TRANSACTION_TYPE — the category of change recorded, such as a transfer, quantity adjustment, or cancellation.
- INSTANCE_QTY_OLD / INSTANCE_QTY_NEW — the before and after quantities of the installed instance.
- INSTANCE_AMT_OLD / INSTANCE_AMT_NEW — the before and after monetary amounts.
- OLD_CONTRACT_ID / NEW_CONTRACT_ID — the contract from which and to which the instance moved.
- OLD_SERVICE_LINE_ID / NEW_SERVICE_LINE_ID and OLD_SUBLINE_ID / NEW_SUBLINE_ID — the service line and subline associations before and after the change.
- OLD_CUSTOMER / NEW_CUSTOMER — the previous and new customer party on the instance.
- OLD_K_STATUS / NEW_K_STATUS — the old and new instance status codes.
- DATE_CANCELLED, SUBLINE_DATE_TERMINATED, TRANSFER_OPTION — cancellation date, subline termination date, and the transfer option applied.
- Audit columns: CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER, plus SECURITY_GROUP_ID.
Common Use Cases and Queries
The most common requirement is point-in-time reconstruction of an instance's contract, service line, quantity, or customer state. A typical query filters by INS_ID and orders by TRANSACTION_DATE to produce a change timeline:
- Instance change history: SELECT transaction_date, transaction_type, instance_qty_old, instance_qty_new FROM oks_inst_hist_details WHERE ins_id = :ins_id ORDER BY transaction_date.
- Contract transfer audit: filter where OLD_CONTRACT_ID or NEW_CONTRACT_ID equals a contract, to trace instances moving onto or off a contract.
- Cancellation and termination reporting: rows where DATE_CANCELLED or SUBLINE_DATE_TERMINATED is populated.
- Quantity and value reconciliation: comparing INSTANCE_QTY_OLD/NEW and INSTANCE_AMT_OLD/NEW to validate billing or entitlement changes.
- Customer transfer analysis: grouping on OLD_CUSTOMER and NEW_CUSTOMER to detect ownership shifts.
Related Objects
The documented relationship set is intentionally narrow. The single documented foreign key is OKS_INST_HIST_DETAILS.SECURITY_GROUP_ID referencing FND_SECURITY_GROUPS, which enforces multi-org style data segregation. The principal logical parents — OKS_INSTALLED_BASE via INS_ID, and the contract, service line, and subline tables referenced through the OLD_/NEW_ surrogate columns — should be joined explicitly in reporting. Supporting audit references include FND_USER for CREATED_BY and LAST_UPDATED_BY lookups. Because the security group column is the only enforced FK, referential integrity to the installed base and contract entities is maintained by the application layer, and joins should be validated against OKS_INSTALLED_BASE and the OKS contract tables when building historical reports.
-
Table: OKS_INST_HIST_DETAILS
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INST_HIST_DETAILS, object_name:OKS_INST_HIST_DETAILS, status:VALID, product: OKS - Service Contracts , implementation_dba_data: OKS.OKS_INST_HIST_DETAILS ,
-
Table: OKS_INST_HIST_DETAILS
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INST_HIST_DETAILS, object_name:OKS_INST_HIST_DETAILS, status:VALID, product: OKS - Service Contracts , implementation_dba_data: OKS.OKS_INST_HIST_DETAILS ,
-
VIEW: APPS.OKS_INST_HIST_V
12.2.2
-
SYNONYM: APPS.OKS_INST_HIST_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_INST_HIST_DETAILS, status:VALID,
-
SYNONYM: APPS.OKS_INST_HIST_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_INST_HIST_DETAILS, status:VALID,
-
VIEW: APPS.OKS_INST_HIST_V
12.1.1
-
VIEW: OKS.OKS_INST_HIST_DETAILS#
12.2.2
owner:OKS, object_type:VIEW, object_name:OKS_INST_HIST_DETAILS#, status:VALID,
-
VIEW: APPS.OKS_INST_HIST_DETAILS_V
12.1.1
-
VIEW: OKS.OKS_INST_HIST_DETAILS#
12.2.2
-
VIEW: APPS.OKS_INST_HIST_DETAILS_V
12.2.2
-
APPS.OKS_IHD_PVT SQL Statements
12.1.1
-
APPS.OKS_IHD_PVT SQL Statements
12.2.2
-
View: OKS_INST_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_V, object_name:OKS_INST_HIST_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_INST_HIST_V ,
-
View: OKS_INST_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_V, object_name:OKS_INST_HIST_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_INST_HIST_V ,
-
PACKAGE: APPS.OKS_IHD_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_IHD_PVT, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE: APPS.OKS_IHD_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_IHD_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_IHD_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IHD_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_IHD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IHD_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.OKS_INST_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_V, object_name:OKS_INST_HIST_V, status:VALID,
-
VIEW: APPS.OKS_INST_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_V, object_name:OKS_INST_HIST_V, status:VALID,
-
APPS.OKS_IB_UTIL_PVT SQL Statements
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OKS_IB_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IB_UTIL_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
View: OKS_INST_HIST_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_DETAILS_V, object_name:OKS_INST_HIST_DETAILS_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_INST_HIST_DETAILS_V ,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_IB_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IB_UTIL_PVT, status:VALID,
-
View: OKS_INST_HIST_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_DETAILS_V, object_name:OKS_INST_HIST_DETAILS_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_INST_HIST_DETAILS_V ,
-
APPS.OKS_IB_UTIL_PVT SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MASS_UPDATE_PVT, status:VALID,
-
VIEW: APPS.OKS_INST_HIST_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_DETAILS_V, object_name:OKS_INST_HIST_DETAILS_V, status:VALID,
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MASS_UPDATE_PVT, status:VALID,
-
VIEW: APPS.OKS_INST_HIST_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_INST_HIST_DETAILS_V, object_name:OKS_INST_HIST_DETAILS_V, status:VALID,
-
TABLE: OKS.OKS_INST_HIST_DETAILS
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INST_HIST_DETAILS, object_name:OKS_INST_HIST_DETAILS, status:VALID,
-
TABLE: OKS.OKS_INST_HIST_DETAILS
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INST_HIST_DETAILS, object_name:OKS_INST_HIST_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.OKS_EXTWARPRGM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_EXTWARPRGM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_EXTWARPRGM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_EXTWARPRGM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_IB_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_IB_UTIL_PVT
12.2.2
-
APPS.OKS_EXTWARPRGM_PVT dependencies on OKS_INST_HIST_DETAILS
12.2.2
-
APPS.OKS_IHD_PVT dependencies on OKS_INST_HIST_DETAILS
12.1.1
-
PACKAGE BODY: APPS.OKS_IHD_PVT
12.1.1
-
APPS.OKS_EXTWARPRGM_PVT dependencies on OKS_INST_HIST_DETAILS
12.1.1