Search Results oe_bulk_validate




Overview

OE_BULK_VALIDATE is an internal Oracle Order Management validation package that performs bulk pre-processing and attribute validation for records staged in the Order Import interface tables. It belongs to the Order Import (also known as Order Management Open Interface) processing flow, which loads external order data into Oracle EBS from sources such as EDI transactions, legacy systems, CRM applications, and custom integrations. Rather than validating a single order, the package operates on a batch, identified by p_batch_id, and applies consistent validation logic across every header, line, and adjustment belonging to that batch.

The package is declared AUTHID CURRENT_USER and owned by APPS, meaning it executes with the privileges of the calling user while resolving unqualified references through APPS synonyms. A package-level global, G_ERROR_COUNT, tracks the number of error records encountered during a validation run, giving the calling process a convenient handle on batch quality. Its principal role is to detect data problems early and to record them in the interface error tables before the records reach the Order Import concurrent program, thereby preventing invalid data from creating orders.

Key Procedures and Functions

  • PRE_PROCESS — Performs pre-processing validations on the interface tables for all orders in the specified batch. Validation failures cause error messages to be inserted for the offending records.
  • ATTRIBUTES — Applies attribute-level validations to the interface records for the batch. It accepts an additional parameter indicating whether adjustments exist, so that adjustment-related attributes can be validated conditionally.
  • VALIDATE_BOM — Performs bill-of-material validations against the OE_CONFIG_DETAILS_TMP table for configured lines in the batch. Validation failures are again written as error messages. This procedure has no parameters in the documented signature.
  • MARK_INTERFACE_ERROR — The procedure associated with the search term mark_interface_error. It sets the error flag on the order header interface table when any entity of an order — header, line, adjustment, or configuration detail — has failed the pre-processing checks or attribute validation performed earlier in the same run. Functionally, it is the final consolidation step that raises the header-level error flag so downstream processing can identify and reject incomplete or invalid orders.

Tables Accessed

The package reads and writes several categories of tables through APPS synonyms:

Usage Notes

OE_BULK_VALIDATE is an internal component of the Order Import process and is not intended for direct invocation from Oracle Forms. It is invoked by Order Import concurrent processing and related orchestration code, and Oracle documents it as being referenced by three other packages. Custom integrators occasionally call it through wrapper code to pre-screen a batch before submitting Order Import, which allows errors to be surfaced and corrected while records are still in the interface tables. Because validation messages are persisted in OE_PROCESSING_MSGS and error flags are set on OE_HEADERS_IFACE_ALL by MARK_INTERFACE_ERROR, standard Order Import error reporting and correction forms can be used to review and remediate the results. Customers should avoid modifying this package, as it is shipped and patched by Oracle.