Search Results c_dsp_tot_sumformula




Overview

PA_PAXALRUN_XMLP_PKG is a public PL/SQL package in the APPS schema (AUTHID CURRENT_USER) that supports the Oracle Projects concurrent program for mass allocation processing, executed as an XML Publisher (XMLP) report. The "XMLP_PKG" suffix indicates that the package is an Oracle Reports/XML Publisher report definition package generated to back a concurrent program driven by a BI Publisher data template. The package encapsulates report-level logic for the Mass Allocation Execution report (associated with the PAXALRUN report short name and header identifier visible in the source comment "PAXALRUNS.pls"). It exposes global variables and wrapper functions that the report triggering framework calls at runtime (BEFOREREPORT, AFTERREPORT), that display derived attributes on the report cover page and body, and that perform existence checks against the allocation and exception tables to decide whether data or exception notice lines must be printed.

Key Procedures and Functions

The package exposes roughly twenty-four documented functions and procedures. Their intended purposes are:

Tables Accessed

All table references are resolved through APPS synonyms. PA_ALLOC_RULES supplies allocation rule definition data (name, currency, rule id). PA_ALLOC_EXCEPTIONS underpins the DRAFT_EXCEPTION_EXISTS and RELEASE_EXCEPTION_EXISTS checks. PA_TRANSACTION_INTERFACE, PA_TRANSACTION_SOURCES, and PA_TRANSACTION_XFACE_CONTROL support the ALLOC_TXN_EXISTS determination by inspecting staged allocation transactions and their interface control rows. PA_IMPLEMENTATIONS provides installation/implementation-level attributes such as the functional currency used by C_FUNC_CURRENCY. DUAL is referenced for single-row utility selections. The package is read-mostly: it queries these tables to populate report globals and existence flags rather than performing direct DML.

Usage Notes

PA_PAXALRUN_XMLP_PKG is invoked by the Oracle Projects concurrent program that runs the Mass Allocation report. Its BEFOREREPORT and AFTERREPORT functions are called automatically by the report engine, and the display formatting functions (all prefixed C_DSP_ or C_FMT_) are called from the XML Publisher/Reports layout as column or formula triggers. The variable C_FUNC_CURRENCY — the object returned when users search on c_func_currency_p — holds the functional currency code (VARCHAR2(15)) resolved from the implementation, and is surfaced to the layout through the standard _P getter convention. It is not designed for direct calls from custom code; the supported contract is the concurrent program and its report template. The package is not referenced by any other package in the repository, confirming it is a leaf-level report-support unit. The package exposes no documented parameters or private helpers, so callers should treat the globals and getter functions as the public interface.