Search Results batch_process_id




Overview

The OKC_ART_INT_ERRORS table is a core data object within the Oracle E-Business Suite Contracts Core (OKC) module. Its primary function is to serve as the error log for the Article (clause) Import process. When clauses are imported into the Contracts repository via the interface tables, any validation or processing failures encountered are recorded in this table. This provides administrators and technical consultants with a persistent, auditable history of import issues, which is critical for troubleshooting failed data loads, ensuring data integrity, and facilitating corrective actions.

Key Information Stored

The table's structure is designed to uniquely identify and describe each error within the context of a specific import batch and interface record. Its primary key is a composite of three columns: BATCH_PROCESS_ID, INTERFACE_ID, and ERROR_NUMBER. The BATCH_PROCESS_ID column is the critical link to the OKC_ART_INT_BATPROCS_ALL table, identifying the overall import batch execution. The INTERFACE_ID column references the specific source record in the OKC_ART_INTERFACE_ALL table that caused the error. The ERROR_NUMBER column stores the numeric identifier of the error, which would typically correspond to a message in the application's message dictionary. While not detailed in the provided metadata, other columns likely exist to store supplemental error text, severity, and timestamps.

Common Use Cases and Queries

The primary use case is diagnosing and resolving failures in the clause import process. A user searching for a specific `batch_process_id` would query this table to retrieve all associated errors. A common reporting query would join to the batch process and interface tables to provide a comprehensive error summary. For example:

  • SELECT e.*, b.batch_name, i.clause_number
    FROM okc.okc_art_int_errors e,
    okc.okc_art_int_batprocs_all b,
    okc.okc_art_interface_all i
    WHERE e.batch_process_id = :batch_id
    AND e.batch_process_id = b.batch_process_id
    AND e.interface_id = i.interface_id
    ORDER BY e.interface_id, e.error_number;

This data is essential for post-import reconciliation, data quality audits, and developing scripts to cleanse interface data before re-submission.

Related Objects

The table has defined foreign key relationships with two key interface tables, forming the core of the Article Import error handling framework.

  • OKC_ART_INT_BATPROCS_ALL: Linked via the BATCH_PROCESS_ID column. This table stores header information for each import batch run, such as the batch name, status, and submission details.
  • OKC_ART_INTERFACE_ALL: Linked via the INTERFACE_ID column. This is the primary staging table where clause data is inserted before being validated and imported into the production clause tables.

These relationships ensure referential integrity, meaning every error record is explicitly tied to a specific batch process and a specific source interface record that failed validation.