Search Results inv_label




Overview

INV_LABEL_PVT2 is a private PL/SQL package in the APPS schema that supports Oracle EBS Inventory label printing and variable resolution. In the Oracle Inventory module, operators frequently need to print labels for material transactions, lots, serial numbers, and receiving events directly from transaction entry forms. These labels are defined through the Oracle Label framework, which allows administrators to build label templates containing dynamically substituted variables such as item number, lot number, quantity, transaction date, and user name. INV_LABEL_PVT2 exists to resolve those variable placeholders at runtime, querying the underlying transaction and master data to return the actual values that populate a printed label.

The package is classified as an internal implementation helper (API classification OTHER) rather than a public business API. It is tightly coupled to the public INV_LABEL package, which references INV_LABEL_PVT2, and INV_LABEL_PVT2 in turn references INV_LABEL — the two packages working together to implement label generation logic. The package body accesses a wide range of Inventory transaction and serial/lot tables, confirming its role as a data-retrieval layer for label variables.

Key Procedures and Functions

The ETRM metadata documents one procedure or function within this package:

  • GET_VARIABLE_DATA — The core routine of the package. It accepts information identifying a label variable and the source transaction context, then returns the corresponding value to the caller. In practice, this is the mechanism by which label template placeholders are converted into printable data. INV_LABEL invokes this routine when compiling the variable values for a given label request; the returned data is then merged into the label format and sent to the printer.

No additional documented procedures are exposed in the metadata. Because INV_LABEL_PVT2 is a private package, its routines are not intended for direct invocation by external custom code; they are consumed internally by INV_LABEL.

Tables Accessed

The documented table references show that GET_VARIABLE_DATA resolves label variables from across the Inventory transaction and serial/lot data model. Key tables include:

Usage Notes

INV_LABEL_PVT2 is not a standalone business API. It is invoked indirectly through the Oracle Inventory label printing process, most commonly when an operator selects a label from a transaction form or runs a label-related concurrent program. The public INV_LABEL package calls INV_LABEL_PVT2 to obtain variable values, so any customization of printed label content should target the label template definitions rather than this package. Because the package is private and marked OTHER, direct calls from custom code are unsupported and may break across patches or upgrades.

The documented metadata confirms the package is VALID in 12.2.2 and depends on standard Inventory tables and the INV_LABEL package. Customers customizing label output should validate changes against their specific 12.1.1 or 12.2.x patch level, since the internal structure of private packages such as INV_LABEL_PVT2 can change without public notice.