Search Results oks_con_lines_int_all
Overview
OKS_CON_LINES_INT_ALL is the open interface table for the Oracle Service Contracts (OKS) module, owned by the OKS schema. Its purpose is to stage contract line information that is imported into Oracle Contracts for Service and materialized as contract lines in the base OKS contract tables. In Oracle EBS 12.1.1 and 12.2.2, it functions as the inbound staging area for bulk contract authoring and migration scenarios, such as conversions from legacy service agreement systems, mass contract line loads, or integration feeds from external order capture applications. Rows inserted into this table are processed by the Service Contracts import program, which validates the data, resolves references, and inserts the resulting records into OKS_CONTRACT_LINES_ALL and its related pricing, coverage, and billing entities.
The documented structure contains 67 columns. Because the table is a standalone staging object and does not participate in normalized parent-child relationships within the OKS model, the metadata’s heuristic Data Vault classification suggests that it is best modeled as a satellite or staging table rather than a hub or link. Its defining role is transactional: rows represent candidate contract lines awaiting validation and transfer, not durable master data.
Key Information Stored
The single documented foreign key in the schema is CUST_ACCOUNT_ID, which references HZ_CUST_ACCOUNTS, anchoring each staged line to the customer account that will own the imported contract. Beyond that, the most operationally significant columns fall into several groups:
- Identity and contract linkage: CONTRACT_LINE_ID, CONTRACT_ID, CONTRACT_LINE_NUMBER, CONTRACT_LINE_TYPE, and CONTRACT_LINE_REF. These carry the intended line identity and its parent contract reference into OKS.
- Item and source references: SERVICE_INVENTORY_ITEM_ID, SERVICE_MANUFACTURING_ORG_ID, ORDER_HEADER_ID, and ORDER_LINE_ID. These tie the imported line to the serviceable item and, where applicable, to the originating order.
- Party and site context: CUST_ACCOUNT_ID, CUST_BILL_TO_SITE_USE_ID, CUST_SHIP_TO_SITE_USE_ID, BILL_TO_CONTACT_ID, and SHIP_TO_CONTACT_ID.
- Lifecycle and coverage: LINE_STATUS_CODE, START_DATE, END_DATE, RENEWAL_TYPE, COVERAGE_ID, COVERAGE_TEMPLATE_ID, and EXCEPT_COVERAGE_ID.
- Commercial and billing attributes: PRICE_LIST_ID, PRICE_UNIT, PRICE_NEGOTIATED, PRICE_UNIT_PERCENT, CURRENCY_CODE, CONVERSION_TYPE, CONVERSION_RATE, CONVERSION_DATE, ACCOUNTING_RULE_ID, INVOICING_RULE_ID, PAYMENT_TERMS_ID, BILLING_TXN_TYPE_ID, and SUMMARY_INVOICE_YN.
- Processing control and audit: PERIODIC_SE_YN-type flags, INTERFACED_STATUS_FLAG, AUTHORING_ORG_ID, MERGE_ID, plus the standard WHO columns CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, and LAST_UPDATE_LOGIN.
The descriptor ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 provide a flexible descriptive flexfield surface for customer-specific data. INTERFACED_STATUS_FLAG is the primary control column: rows remain unprocessed until the import program sets it, at which point the row is either promoted to a contract line or flagged with an error. No surrogate primary key is documented for this table; CONTRACT_LINE_ID and CONTRACT_LINE_NUMBER serve as the practical business-key candidates, while the underlying unique identifier is assigned by OKS at interface completion.
Common Use Cases and Queries
Typical uses include legacy service-agreement migration, mass creation of coverage lines for a new service offering, and reconciliations between external order systems and OKS. Queries generally filter on INTERFACED_STATUS_FLAG to isolate pending or failed rows, and join to HZ_CUST_ACCOUNTS via CUST_ACCOUNT_ID to validate the customer context.
For example, to identify unprocessed lines for a given customer:
SELECT CONTRACT_LINE_ID, CONTRACT_LINE_NUMBER, LINE_STATUS_CODE, START_DATE, END_DATE
FROM OKS.OKS_CON_LINES_INT_ALL
WHERE INTERFACED_STATUS_FLAG IS NULL
AND CUST_ACCOUNT_ID = :account_id;
A reconciliation query joins the interface to the customer account for reporting: SELECT i.CONTRACT_LINE_REF, i.CURRENCY_CODE, i.PRICE_NEGOTIATED, a.ACCOUNT_NUMBER FROM OKS.OKS_CON_LINES_INT_ALL i, HZ_CUST_ACCOUNTS a WHERE i.CUST_ACCOUNT_ID = a.CUST_ACCOUNT_ID. Standard practice is to run the Service Contracts import concurrent program after populating the table, then query INTERFACED_STATUS_FLAG to confirm success or extract error rows.
Related Objects
The principal related objects are HZ_CUST_ACCOUNTS (referenced through CUST_ACCOUNT_ID, the sole documented FK), the base contract line table OKS_CONTRACT_LINES_ALL, the contract header table OKS_CONTRACTS_ALL, and the coverage entities referenced by COVERAGE_ID and COVERAGE_TEMPLATE_ID. The Service Contracts import concurrent program consumes this table, and pricing and billing validations draw on PRICE_LIST_ID, PAYMENT_TERMS_ID, and ACCOUNTING_RULE_ID. The ORDER_HEADER_ID and ORDER_LINE_ID columns create an operational link to Oracle Order Management. Reporting views over OKS contract data typically depend on the successful transfer of interface rows, making OKS_CON_LINES_INT_ALL the entry point for contract line master data.
-
Table: OKS_CON_LINES_INT_ALL
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_CON_LINES_INT_ALL, object_name:OKS_CON_LINES_INT_ALL, status:VALID, product: OKS - Service Contracts , description: This Interface table is used to import contract lines information to Oracle Contracts for Service application (OKS) as Contract Lines. , implementation_dba_data: OKS.OKS_CON_LINES_INT_ALL ,
-
Table: OKS_CON_LINES_INT_ALL
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_CON_LINES_INT_ALL, object_name:OKS_CON_LINES_INT_ALL, status:VALID, product: OKS - Service Contracts , description: This Interface table is used to import contract lines information to Oracle Contracts for Service application (OKS) as Contract Lines. , implementation_dba_data: OKS.OKS_CON_LINES_INT_ALL ,
-
SYNONYM: APPS.OKS_CON_LINES_INT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_CON_LINES_INT_ALL, status:VALID,
-
SYNONYM: APPS.OKS_CON_LINES_INT_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_CON_LINES_INT_ALL, status:VALID,
-
VIEW: OKS.OKS_CON_LINES_INT_ALL#
12.2.2
owner:OKS, object_type:VIEW, object_name:OKS_CON_LINES_INT_ALL#, status:VALID,
-
VIEW: OKS.OKS_CON_LINES_INT_ALL#
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_COVERAGES_MIGRATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.OKS_COVERAGES_MIGRATION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
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.1.1 DBA Data
12.1.1
-
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: OKS.OKS_CON_LINES_INT_ALL
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_CON_LINES_INT_ALL, object_name:OKS_CON_LINES_INT_ALL, status:VALID,
-
TABLE: OKS.OKS_CON_LINES_INT_ALL
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_CON_LINES_INT_ALL, object_name:OKS_CON_LINES_INT_ALL, status:VALID,
-
APPS.OKS_COVERAGES_MIGRATION SQL Statements
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION SQL Statements
12.1.1
-
PACKAGE: APPS.OKS_COVERAGES_MIGRATION
12.2.2
-
PACKAGE: APPS.OKS_COVERAGES_MIGRATION
12.1.1
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_CON_LINES_INT_ALL
12.1.1
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_CON_LINES_INT_ALL
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKC_K_LINES_B
12.1.1
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKC_K_LINES_B
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_COVERAGES_INT_ALL
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_CON_HEADERS_INT_ALL
12.1.1
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_CON_HEADERS_INT_ALL
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_COVERAGES_INT_ALL
12.1.1
-
PACKAGE BODY: APPS.OKS_COVERAGES_MIGRATION
12.2.2
-
PACKAGE BODY: APPS.OKS_COVERAGES_MIGRATION
12.1.1
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_COV_TXN_GROUPS_INT_ALL
12.1.1
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_COV_TXN_GROUPS_INT_ALL
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_COV_BILL_TYPES_INT_ALL
12.2.2
-
APPS.OKS_COVERAGES_MIGRATION dependencies on OKS_COV_BILL_TYPES_INT_ALL
12.1.1
-
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
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,
-
12.1.1 DBA Data
12.1.1