Search Results cf_total_varianceformula




Overview

GME_GMEMUSBV_XMLP_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that serves as the supporting program unit for an Oracle Reports XML Publisher (XMLP) concurrent program. Within the Process Manufacturing (OPM) modules, the name convention "GMEMUSBV" indicates a Material Usage Summary by Batch report or a closely related Material Usage/ Variance report. The "_XMLP_PKG" suffix identifies this as the auto-generated or manually maintained report logic package invoked by the Report Builder/XML Publisher runtime engine. Its purpose is to gather, calculate and format the values that populate the report layout, particularly accounting cost, quantity variance, value variance and batch-related header information.

The package provides global variables and functions used as formula columns and summary columns in the report, and it implements the BEFORE REPORT and AFTER REPORT triggers. It is not called by any other package in the EBS code base (referenced by 0 other packages), confirming that it is a leaf-level report support package invoked only through the concurrent manager.

Key Procedures and Functions

The package exposes 27 documented procedures and functions, largely organized around report formula computation and header parameter handling:

Tables Accessed

The package reads from the following documented tables through APPS synonyms:

Usage Notes

This package is invoked exclusively by the Oracle Reports runtime when the associated concurrent program (the Material Usage Variance/Summary XMLP report) is submitted from the Concurrent Programs form or a standard OPM report menu. It is not designed for direct invocation from custom code, and the ETRM metadata records no inbound dependencies from other packages. Parameters such as P_CODE, FROMBATCH, TOBATCH, FROMDATE, TODATE, FROMITEM, TOITEM, CURR_CODE, P_CONC_REQUEST_ID and P_ORG_ID correspond to the report's submitted concurrent program parameters and drive the formula functions that build the batch, date and item range headers. Any customization should be performed on the underlying report definition or the documented formula functions, taking care to preserve the APPS synonym references and the BEFORE/AFTER REPORT contract expected by the Reports engine in EBS 12.1.1 and 12.2.2.