Search Results p_amount_due_high




Overview

APPS.AP_APXINAGE_XMLP_PKG is the server-side PL/SQL package body that supports the Oracle Payables Invoice Aging Report, an XML Publisher (BI Publisher) concurrent program in Oracle E-Business Suite 12.1.1 and 12.2.2. The Invoice Aging Report presents open and outstanding supplier invoices grouped by aging buckets, allowing Payables managers to analyze liability exposure across configurable periods.

Unlike a conventional API package, this package exists to service a report definition. It supplies initialization logic, lexical parameters, session-level NLS strings, currency precision metadata, and the calculated columns that the XML template renders. Every procedure and function is oriented toward preparing data and formatting context for the report output rather than performing transactional business logic. The package is classified as OTHER in the ETRM repository and is not referenced by any other package, confirming its role as a terminal report-support unit.

The user search term p_amount_due_high corresponds to a report parameter used on the Invoice Aging Report to constrain or filter the high end of the amount-due range. It is bound at runtime by the concurrent program's parameter form and evaluated within the package's query and formula logic, alongside the counterpart low-range parameter.

Key Procedures and Functions

Tables Accessed

  • AP_SYSTEM_PARAMETERS — Source of the base currency code used to determine report currency context.
  • AP_AGING_PERIODS — Defines the aging buckets applied to report output.
  • AP_AGING_PERIOD_LINES — Provides the lower and upper day boundaries for each aging period.
  • HZ_PARTIES — Supplies supplier party name information used in custom initialization and header rendering.

Additional lookups and currency tables (FND_LOOKUPS, FND_CURRENCIES_VL, AP_LOOKUP_CODES) are accessed through documented query logic within CUSTOM_INIT and GET_BASE_CURRENCY_DATA.

Usage Notes

The package is invoked exclusively through the Invoice Aging Report concurrent program, executed from the Payables responsibility. The XML Publisher engine calls BEFOREREPORT before extracting data, then evaluates the formula functions as each row is rendered. Parameters such as p_amount_due_high are supplied by the concurrent program parameter form and consumed during query construction and formula evaluation. Because the package is unreferenced by other PL/SQL units, customizations should be limited to the report definition and its template rather than direct calls to this body.