Search Results fld_name




Overview

APPS.JG_JGZZRDLR_XMLP_PKG is a packaged Oracle Reports (XMLP) PL/SQL library that supports the reporting requirements of the JG (Global Accounting / Localizations) product family, specifically an accounts receivable and cash receipts reporting process. The package body encapsulates the report-level logic executed by the Oracle Reports runtime during a concurrent program run: report-level initialization, currency formatting helpers, and a substantial set of report column formulas used to compute and display receivable, tax, and foreign currency balances.

The package is classified as OTHER in the ETRM metadata, meaning it is not a public business API but rather an internal report driver. It follows the standard XML Publisher / Oracle Reports package naming convention (_XMLP_PKG), instantiated against a report definition whose bind parameters drive behavior. The header comment ($Header: JGZZRDLRB.pls 120.0 ...) confirms the source file is JGZZRDLRB.pls, a package body associated with the JG_JGZZRDLR report.

Key Procedures and Functions

The documented interface exposes 62 procedures and functions. The most significant are:

Tables Accessed

The package body reads from the following APPS synonyms:

  • FND_CURRENCIES — queried in FORMAT_CURRENCY to obtain the currency precision used to round displayed amounts.
  • AR_CASH_RECEIPTS — source of receipt header records used in the receivables report columns.
  • AR_CASH_RECEIPT_HISTORY — provides receipt status and applied/unapplied history used in the amounts-due and remaining computations.
  • AR_DUNNING_LETTERS — supplies dunning letter context where the report includes collection activity.
  • AR_RECEIVABLE_APPLICATIONS — the primary source of application amounts (amount_applied, amount_due_original, amount_due_remaining) referenced in the P_RISKVAR expressions built in BEFOREREPORT.

Additionally, the package depends on FND_LOOKUPS (YES_NO lookup), FND_PROFILE, FND_GLOBAL, and the JG_GET_SET_OF_BOOKS_INFO helper, though only the AR tables are the primary data sources for the report.

Usage Notes

This package is not intended for direct invocation from forms, PL/SQL APIs, or custom code; it is auto-generated and bound to its Oracle Reports / XML Publisher report definition. It is executed implicitly by the Reports runtime when the corresponding concurrent program is submitted, with the runtime calling BEFOREREPORT before the data model executes and AFTERREPORT after the report completes. Report formula functions are invoked by the report layout engine per fetched row.

The ETRM metadata records that no other package references this package, confirming it is a leaf-level report driver. Customizations should not modify the generated package body directly, since Oracle ships it as noship and patches may overwrite it. Any change to report behavior, parameterization, or currency formatting should be implemented in a report copy or a supported user exit. Because BEFOREREPORT references the FLD_NAME parameter of FORMAT_CURRENCY whenever currency columns are rendered, the report's layout must supply a valid column alias matching the field name defined in the report definition.