Search Results wip_interface_err_utils
Overview
APPS.WIP_INTERFACE_ERR_UTILS is a utility package body in the Oracle E-Business Suite WIP (Work in Process) module. Its business function is to collect, buffer, and persist errors encountered while processing records through the WIP open interfaces, and to write those errors to the interface error repository so that failed interface rows are visible and actionable to users. The interface tables it supports include the WIP job and schedule interface tables and the job detail interface table. In practice, the package serves as a controlled error-handling layer between the interface processing logic and the WIP_INTERFACE_ERRORS table. Errors are first accumulated in a PL/SQL collection in memory and subsequently flushed to the database, which avoids issuing a separate error row insert for every failure and centralizes error formatting and logging behavior.
Key Procedures and Functions
The documented procedures in this package are ADD_ERROR and LOAD_ERRORS.
- ADD_ERROR — Buffers a single interface error in memory. It accepts an interface identifier, the error text, and an error type, constructs an internal error record, truncates the descriptive text to the maximum length supported by the error table column, and appends the record to an in-memory collection. It performs no direct database write, so it is inexpensive to call repeatedly during a processing loop.
- LOAD_ERRORS — Flushes the buffered error collection to the interface error table. It iterates over the accumulated errors, optionally writes diagnostic messages to the WIP logger when runtime logging is enabled at an appropriate trace level, retrieves the audit column values (last update login, last updated by, and created by) from the source WIP interface table, and passes those values to the insertion routine, which performs the actual write. The audit values are read from the interface row rather than derived inside the insertion routine because that routine runs as an autonomous transaction and therefore cannot inherit the calling transaction's context.
An additional INSERT_ERROR procedure is declared in the specification as an autonomous transaction routine and is referenced by the LOAD_ERRORS logic. It is the low-level writer responsible for inserting individual rows into the interface errors table.
Tables Accessed
- WIP_INTERFACE_ERRORS — the primary target of the package. It stores one row per error associated with an interface record, including the interface identifier, error type, error text, and the standard Oracle audit columns. This is the table read by interface error inquiry functionality so that users can identify and correct failed rows.
- PLITBLM — a PL/SQL table used by the package to hold state, consistent with the buffered-collection design in which errors are accumulated before being flushed. Access to this table reflects the in-memory storage of pending errors and related processing state.
Audit values applied to inserted error rows are sourced from the originating WIP interface tables (job and schedule interface, and job detail interface), as noted in the package source comments.
Usage Notes
WIP_INTERFACE_ERR_UTILS is an internal utility rather than an end-user-facing API. It is invoked by the WIP interface processing logic, including concurrent programs and related packages that load job, schedule, and job detail interface data. The package is referenced by twelve other packages in the application, confirming its role as a shared error-handling component.
Typical usage follows a two-phase pattern: interface processing code calls ADD_ERROR as each validation or processing failure is detected, and then calls LOAD_ERRORS once at the end of the processing unit to persist all buffered errors. Because the insertion routine runs autonomously, error rows survive even if the calling transaction is rolled back, which is essential for retaining a record of why interface rows failed. Custom code that reuses this package should follow the same discipline and should not attempt to derive audit columns for the insertion call, since those values must be passed from the interface row. Diagnostic output is governed by the FND logging runtime level and the WIP constants trace setting, so error text appears in the log only when logging is enabled at the trace level.
-
PACKAGE BODY: APPS.WIP_INTERFACE_ERR_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_INTERFACE_ERR_UTILS, status:VALID,
-
SYNONYM: APPS.WIP_INTERFACE_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_INTERFACE_ERRORS, status:VALID,
-
PACKAGE: APPS.WIP_INTERFACE_ERR_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WIP_INTERFACE_ERR_UTILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_INTERFACE_ERR_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_INTERFACE_ERR_UTILS, status:VALID,
-
PACKAGE: APPS.WIP_INTERFACE_ERR_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WIP_INTERFACE_ERR_UTILS, status:VALID,
-
SYNONYM: APPS.WIP_INTERFACE_ERRORS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_INTERFACE_ERRORS, status:VALID,
-
PACKAGE: APPS.WIP_INTERFACE_ERR_UTILS
12.1.1
-
PACKAGE: APPS.WIP_INTERFACE_ERR_UTILS
12.2.2
-
PACKAGE BODY: APPS.WIP_JOB_DTLS_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JOB_DTLS_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JDI_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JDI_UTILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_SERIAL_ASSOC_VALIDATIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_SERIAL_ASSOC_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JSI_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JSI_UTILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JSI_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JSI_UTILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JDI_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JDI_UTILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_OP_LINK_VALIDATIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_OP_LINK_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_OPERATION_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_OPERATION_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.WIP_OPERATION_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_OPERATION_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.WIP_RES_USAGE_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_RES_USAGE_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.WIP_RES_INST_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_RES_INST_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_RES_USAGE_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_RES_USAGE_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.WIP_JOB_DTLS_VALIDATIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JOB_DTLS_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_OP_LINK_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_OP_LINK_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_REQUIREMENT_VALIDATIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_REQUIREMENT_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_RES_INST_VALIDATIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_RES_INST_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_SERIAL_ASSOC_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_SERIAL_ASSOC_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_RESOURCE_VALIDATIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_RESOURCE_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_RESOURCE_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_RESOURCE_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JOB_DETAILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JOB_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JOB_DETAILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JOB_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_REQUIREMENT_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_REQUIREMENT_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_JOB_DTLS_SUBSTITUTIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JOB_DTLS_SUBSTITUTIONS, status:VALID,
-
SYNONYM: APPS.WIP_JOB_DTLS_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_JOB_DTLS_INTERFACE, status:VALID,
-
PACKAGE BODY: APPS.WIP_JOB_DTLS_SUBSTITUTIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_JOB_DTLS_SUBSTITUTIONS, status:VALID,
-
PACKAGE BODY: APPS.WIP_INTERFACE_ERR_UTILS
12.1.1
-
PACKAGE BODY: APPS.WIP_INTERFACE_ERR_UTILS
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.WIP_JOB_SCHEDULE_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_JOB_SCHEDULE_INTERFACE, status:VALID,
-
PACKAGE: APPS.WIP_LOGGER
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WIP_LOGGER, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.WIP_LOGGER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WIP_LOGGER, status:VALID,
-
PACKAGE: APPS.WIP_CONSTANTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WIP_CONSTANTS, status:VALID,
-
PACKAGE: APPS.WIP_CONSTANTS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WIP_CONSTANTS, status:VALID,
-
APPS.WIP_REQUIREMENT_VALIDATIONS dependencies on WIP_INTERFACE_ERR_UTILS
12.1.1
-
APPS.WIP_JSI_UTILS dependencies on WIP_INTERFACE_ERR_UTILS
12.2.2
-
APPS.WIP_JSI_UTILS dependencies on WIP_INTERFACE_ERR_UTILS
12.1.1
-
APPS.WIP_RES_USAGE_VALIDATE dependencies on WIP_INTERFACE_ERR_UTILS
12.1.1
-
APPS.WIP_OP_LINK_VALIDATIONS dependencies on WIP_INTERFACE_ERR_UTILS
12.1.1
-
APPS.WIP_JOB_DTLS_VALIDATIONS dependencies on WIP_INTERFACE_ERR_UTILS
12.1.1