Search Results ego_mass_update_pvt




Overview

EGO_MASS_UPDATE_PVT is a private (PVT) PL/SQL package owned by the APPS schema in Oracle E-Business Suite. It supports the Mass Update feature of Oracle Product Information Management (PIM), which allows users to modify attribute values across many items, organizations, or item-organization combinations in a single operation rather than editing each record individually. The package declares AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the invoking user, a convention typical of PL/SQL APIs intended to run from both the application schema and invoking sessions.

Because the Mass Update flow is inherently set-based, work is staged in temporary tables before the package processes it. EGO_MASS_UPDATE_PVT provides the server-side logic that consumes those staged records, performs the requested item-to-organization assignments, logs diagnostic information, and cleans up stale staging data. The package header carries a $Header comment dated 2005, indicating the interface has been stable across many EBS releases, including 12.1.1 and 12.2.2.

Key Procedures and Functions

  • ITEM_ORG_ASSIGNMENT — The principal public procedure. Its documented purpose is to assign items to organizations within Mass Update flows, reading the items and organizations selected for assignment from temporary tables and keyed by a batch identifier. It accepts a batch ID and returns a concatenated list of request IDs together with the standard EBS return status, message count, and message data OUT parameters, so that downstream or upstream callers can track the submitted concurrent requests.
  • WRITE_DEBUG — A debug message logger that writes diagnostic text during package execution. It is used to trace processing and troubleshoot failures in the Mass Update pipeline.
  • CLEAR_TEMP_TABLES — The maintenance procedure referenced by the "clear_temp_tables" search. It clears Mass Update temporary tables, taking an hours parameter that controls the retention window, presumably so that staging rows older than the supplied number of hours are purged. It returns the standard concurrent-program OUT parameters errbuf and retcode, which indicates it is designed to be invoked directly as a concurrent program entry point.

Tables Accessed

The documented tables accessed through APPS synonyms fall into three categories:

Usage Notes

EGO_MASS_UPDATE_PVT is not a public API. It is an internal implementation package invoked by the PIM Mass Update pages and their supporting concurrent programs rather than being called from custom code. The signature of CLEAR_TEMP_TABLES, with errbuf and retcode parameters, follows the mandatory interface for concurrent program executable PL/SQL, so it is most likely registered as a standalone concurrent program or called by a scheduled purge job to remove expired staging rows. ITEM_ORG_ASSIGNMENT is invoked as part of the item-to-organization assignment submission flow, where a batch ID identifies the staged selection set.

The package is referenced by zero other documented packages, confirming its role as a leaf-level private utility. Oracle does not support direct customer invocation of underscore-private (PVT) packages; their signatures may change without notice between releases. Customizations should use the supported public Mass Update APIs or interfaces instead.