Search Results oks_int_header_stg_temp
Overview
OKS_INT_HEADER_STG_TEMP is a Service Contracts (OKS) staging table that holds contract header data during interface processing in Oracle EBS 12.1.1 and 12.2.2. It serves as the inbound landing zone for contract headers before validation and transfer into the base contract tables. The table is owned by the OKS schema and is classified as VALID. It contains 80 documented columns in the 12.2.2 physical schema.
From a Data Vault modeling perspective, this table can be treated as a standalone staging structure. The heuristic classification is standalone, meaning no resolved parent-child link structure is derived from its foreign key metadata. Operationally, it functions as an interface table rather than a normalized entity, so its lifecycle is tied to concurrent programs that read, validate, and purge staging rows.
Key Information Stored
The primary surrogate identifier is HEADER_INTERFACE_ID, which uniquely identifies each staging row. HEADER_INTERFACE_ROWID provides a row reference used by interface processing logic. Business-key candidates include CONTRACT_NUMBER and its qualifier CONTRACT_NUMBER_MODIFIER, along with SOURCE and DOCUMENT, which together identify the origin and source reference of the interface record.
- INTERFACE_STATUS — tracks the processing state of the staged header (for example, ready, error, or processed).
- CATEGORY, STATUS_CODE, START_DATE, END_DATE — define the contract type, lifecycle status, and effective dates.
- KNOWN_AS, DESCRIPTION — capture the contract alias and descriptive text.
- INV_ORGANIZATION_ID, OPERATING_UNIT_ID — determine the inventory organization and operating unit context.
- BILL_TO_SITE_USAGE_ID, SHIP_TO_SITE_USAGE_ID — identify bill-to and ship-to site usages.
- CONTRACT_CURRENCY_CODE and CURRENCY_CONVERSION_* columns — hold currency and conversion parameters.
- PRICE_LIST_ID, PAYMENT_TERMS_ID — reference pricing and payment terms.
- INVOICING_RULE_ID, PAYMENT_METHOD_CODE — drive billing generation behavior.
- COMMITMENT_ID — links the header to a purchasing commitment in PON_OFFER_COMMITMENTS.
- CUSTOMER_PARTY_ID, THIRD_PARTY_ID — identify the customer and third party parties involved.
- FULLY_BILLED, SOURCE, DOCUMENT — indicate billing completeness and source document attributes.
Common Use Cases and Queries
Typical use cases include monitoring inbound contract loads, diagnosing interface errors, and auditing staged contract headers before submission to the Service Contracts mainline tables. A common pattern is to count rows by interface status:
- SELECT INTERFACE_STATUS, COUNT(*) FROM OKS.OKS_INT_HEADER_STG_TEMP GROUP BY INTERFACE_STATUS;
- SELECT HEADER_INTERFACE_ID, CONTRACT_NUMBER, INTERFACE_STATUS FROM OKS.OKS_INT_HEADER_STG_TEMP WHERE INTERFACE_STATUS = 'ERROR';
- SELECT h.CONTRACT_NUMBER, c.COMMITMENT_ID FROM OKS.OKS_INT_HEADER_STG_TEMP h JOIN PON_OFFER_COMMITMENTS c ON h.COMMITMENT_ID = c.COMMITMENT_ID;
Reporting use cases include reconciling contract interfaces by source and document, validating currency and pricing attributes, and confirming customer party assignment prior to contract activation.
Related Objects
The documented foreign key links COMMITMENT_ID to PON_OFFER_COMMITMENTS. Additional related objects in the standard Service Contracts interface flow include the corresponding contract line staging table, the base contract header tables used after transfer, and the concurrent programs that populate and consume this staging table. Significant relationships include:
- PON_OFFER_COMMITMENTS — joined on COMMITMENT_ID.
- OKS_INT_LINES_STG_TEMP — line-level staging companion to the header interface.
- OKS_HEADERS_ALL — target contract header table after successful processing.
- OKS_CONTRACTS_ALL — base contract records linked to processed headers.
- HZ_CUST_ACCOUNTS and HZ_PARTIES — resolved through CUSTOMER_PARTY_ID for party validation.
- Service Contracts interface concurrent programs — readers and validators of staged rows.
-
Table: OKS_INT_HEADER_STG_TEMP
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INT_HEADER_STG_TEMP, object_name:OKS_INT_HEADER_STG_TEMP, status:VALID, product: OKS - Service Contracts , implementation_dba_data: OKS.OKS_INT_HEADER_STG_TEMP ,
-
Table: OKS_INT_HEADER_STG_TEMP
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INT_HEADER_STG_TEMP, object_name:OKS_INT_HEADER_STG_TEMP, status:VALID, product: OKS - Service Contracts , implementation_dba_data: OKS.OKS_INT_HEADER_STG_TEMP ,
-
SYNONYM: APPS.OKS_INT_HEADER_STG_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_INT_HEADER_STG_TEMP, status:VALID,
-
SYNONYM: APPS.OKS_INT_HEADER_STG_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_INT_HEADER_STG_TEMP, status:VALID,
-
VIEW: OKS.OKS_INT_HEADER_STG_TEMP#
12.2.2
owner:OKS, object_type:VIEW, object_name:OKS_INT_HEADER_STG_TEMP#, status:VALID,
-
APPS.OKS_IMPORT_INSERT SQL Statements
12.1.1
-
APPS.OKS_IMPORT_INSERT SQL Statements
12.2.2
-
TABLE: OKS.OKS_INT_HEADER_STG_TEMP
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INT_HEADER_STG_TEMP, object_name:OKS_INT_HEADER_STG_TEMP, status:VALID,
-
TABLE: OKS.OKS_INT_HEADER_STG_TEMP
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INT_HEADER_STG_TEMP, object_name:OKS_INT_HEADER_STG_TEMP, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.OKS_IMPORT_CONTRACTS_WORKER SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKS_IMPORT_INSERT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_INSERT, status:VALID,
-
VIEW: OKS.OKS_INT_HEADER_STG_TEMP#
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_INSERT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_INSERT, status:VALID,
-
PACKAGE BODY: APPS.OKS_IMPORT_POST_INSERT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_POST_INSERT, status:VALID,
-
PACKAGE BODY: APPS.OKS_IMPORT_CONTRACTS_WORKER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_CONTRACTS_WORKER, status:VALID,
-
PACKAGE BODY: APPS.OKS_IMPORT_POST_INSERT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_POST_INSERT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_CONTRACTS_WORKER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_CONTRACTS_WORKER, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OKS_IMPORT_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_VALIDATE, status:VALID,
-
APPS.OKS_IMPORT_CONTRACTS_WORKER SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_INSERT
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IMPORT_VALIDATE, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_INSERT
12.1.1
-
APPS.OKS_IMPORT_POST_INSERT SQL Statements
12.1.1
-
APPS.OKS_IMPORT_VALIDATE SQL Statements
12.1.1
-
APPS.OKS_IMPORT_POST_INSERT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_CONTRACTS_WORKER
12.1.1
-
APPS.OKS_IMPORT_VALIDATE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_CONTRACTS_WORKER
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_POST_INSERT
12.1.1
-
APPS.OKS_IMPORT_VALIDATE dependencies on OKS_INT_HEADER_STG_TEMP
12.2.2
-
APPS.OKS_IMPORT_INSERT dependencies on OKS_INT_HEADER_STG_TEMP
12.2.2
-
APPS.OKS_IMPORT_CONTRACTS_WORKER dependencies on OKS_INT_HEADER_STG_TEMP
12.1.1
-
APPS.OKS_IMPORT_VALIDATE dependencies on OKS_INT_HEADER_STG_TEMP
12.1.1
-
APPS.OKS_IMPORT_POST_INSERT dependencies on OKS_INT_HEADER_STG_TEMP
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_VALIDATE
12.1.1
-
APPS.OKS_IMPORT_CONTRACTS_WORKER dependencies on OKS_INT_HEADER_STG_TEMP
12.2.2
-
APPS.OKS_IMPORT_INSERT dependencies on OKS_INT_HEADER_STG_TEMP
12.1.1
-
APPS.OKS_IMPORT_POST_INSERT dependencies on OKS_INT_HEADER_STG_TEMP
12.1.1
-
PACKAGE BODY: APPS.OKS_IMPORT_POST_INSERT
12.2.2
-
PACKAGE BODY: APPS.OKS_IMPORT_VALIDATE
12.2.2