Search Results get_variable_data




Overview

APPS.INV_LABEL_PVT16 is a private PL/SQL package within the Oracle E-Business Suite Inventory (INV) module that participates in the label printing framework used by Oracle Warehouse Management and standard Inventory transaction flows. It belongs to the INV_LABEL_PVT* family of packages that supply variable content (data fields and substitution values) to label templates at runtime. The package is a companion generator: the Inventory label printing architecture separates label definitions (INV_LABEL) from the individual routines that resolve the data values that appear on a printed label. Each INV_LABEL_PVTnn package is responsible for populating variable content for one or more label types.

The header comment (INVLA16S.pls 120.0, 2007/09/18) confirms this is a stable, earlier-generation private package with no subsequent version increments. Its API classification is OTHER, and its procedures expose overloaded signature variants; only one procedure name, GET_VARIABLE_DATA, is documented.

Key Procedures and Functions

The package exposes two overloaded forms of a single procedure, GET_VARIABLE_DATA:

  • GET_VARIABLE_DATA (LONG variant) — returns label variable content as a single LONG output parameter (x_variable_content OUT NOCOPY LONG). Standard error-handling out parameters are provided through x_msg_count, x_msg_data, and x_return_status. Input context is supplied via a label type record (p_label_type_info of type INV_LABEL.label_type_rec), a transaction identifier, a row from MTL_MATERIAL_TRANSACTIONS_TEMP (p_input_param), and a numeric transaction identifier. All inputs carry defaults, allowing callers to omit parameters not relevant to a given label type.
  • GET_VARIABLE_DATA (table variant) — identical input and error-handling signatures, but returns variable content as a PL/SQL collection (x_variable_content OUT NOCOPY INV_LABEL.label_tbl_type), a table-of-records structure used when multiple label fields must be returned in a single call.

The two forms permit the label engine to request either a single concatenated value or a set of discrete values, depending on the target label format. Callers are expected to inspect x_return_status and x_msg_data for failure diagnostics.

Tables Accessed

The package reads transactional and setup data through APPS synonyms:

Usage Notes

INV_LABEL_PVT16 is not intended for direct customer invocation. It is called by the Inventory label printing engine as a "private" implementation package, referenced by one other package in the ETRM repository. Standard invocation paths are Inventory transaction forms and the label-printing concurrent programs that drive INV_LABEL template rendering. The presence of MTL_MATERIAL_TRANSACTIONS_TEMP as an input parameter type indicates the package is triggered during transaction processing, before the transaction is finalized. Custom label types requiring fields sourced from the tables listed above would typically extend this package or a sibling INV_LABEL_PVT* package rather than call it externally.