Search Results g_intf_status_tobe_process




Overview

EGO_ITEM_ORG_BULKLOAD_PVT is a private PL/SQL package in the APPS schema that supports the bulk loading of item-to-organization assignments within Oracle E-Business Suite. Its role is to process staged interface records and apply the corresponding item organization assignments to the master item data model. The package operates in the context of the EGO (Enterprise Goods and Operations) product family, which governs items, item attributes, and item-organization relationships across EBS releases 12.1.1 and 12.2.2.

The package defines a set of global constants that control its behavior. The constant G_SESSION_LANG is derived from USERENV('LANG') and determines the database session language used to render error messages in the appropriate language. A separate G_LANGUAGE_CODE variable holds the user interface language. The package also defines standard concurrent program return codes (RETCODE_SUCCESS, RETCODE_WARNING, RETCODE_ERROR) and status constants for interface processing, including G_INTF_STATUS_TOBE_PROCESS, G_INTF_STATUS_SUCCESS, and G_INTF_STATUS_ERROR. Action constants G_CREATE, G_UPDATE, and G_SYNC distinguish the type of operation applied to each record.

Key Procedures and Functions

One documented procedure is exposed by this package:

  • PROCESS_ITEM_ORG_ASSIGNMENTS — The core processing routine that drives the bulk assignment of items to organizations. It reads staged records, validates them, and applies item-organization assignments according to the operation type (create, update, or sync). It also handles error capture, routing failures to the interface error table and setting the interface status flags defined as package constants.

No parameter lists are documented in the available metadata, and none are inferred here.

Tables Accessed

The package references the following tables through APPS synonyms:

  • MTL_SYSTEM_ITEMS_INTERFACE — The item interface table used as the staging area for item and item-organization data. The package reads pending interface rows and writes back processing status, enabling the bulk load of item organization assignments through the standard interface mechanism.
  • V$PARAMETER — The dynamic performance view queried to inspect database initialization parameters, typically to confirm environment or language-related settings that affect processing behavior.

Error records are directed to the EGO_BULKLOAD_INTF table, identified by the package constant G_ERROR_TABLE_NAME, with the entity code and business object identifier both set to EGO_ITEM.

Usage Notes

EGO_ITEM_ORG_BULKLOAD_PVT is a private package and is not intended for direct invocation by end users. It is typically called from concurrent programs or public APIs that orchestrate bulk item-organization loading, such as the interface processing programs that consume MTL_SYSTEM_ITEMS_INTERFACE rows. The package classification as PVT indicates its procedures are internal implementation detail, and the metadata records no other packages referencing it, so direct custom calls should be avoided. Custom code needing equivalent functionality should use the supported public interface APIs rather than this private package.