Search Results ar_xml_view_functions




Overview

APPS.AR_XML_VIEW_FUNCTIONS is a PL/SQL package body residing in the APPS schema within Oracle E-Business Suite Releases 12.1.1 and 12.2.2. Its status is documented as VALID in the E-Business Suite Technical Reference Manual (ETRM). The package serves the Oracle Receivables (AR) module and is functionally associated with XML view generation and publisher-style output for receivables documents. In the EBS architecture, packages bearing the XML_VIEW naming convention are typically consumed by Oracle XML Publisher (BI Publisher) report templates or by Oracle Forms-based inquiry screens that render structured document views. The ETRM classifies this object under the API classification "OTHER," indicating that it is not a public, supported extension API but rather an internal implementation component invoked by other EBS objects. The dependency metadata confirms this: the package body references only the APPS schema (itself) and the SYS.STANDARD package, and it is not referenced by any database object at the compilation level, while being referenced by nine other packages at the application level.

Key Procedures and Functions

The ETRM documents 270 procedures and functions within this package body, of which the first twenty are enumerated as HEADER_FUNCTION1 through HEADER_FUNCTION20. The uniform naming convention is significant: each routine is a header-level function, meaning it returns a discrete value used to populate one field or element within the XML header block of a receivables document view. These functions are designed to be called from an XML template rather than from procedural business logic.

  • HEADER_FUNCTION1 through HEADER_FUNCTION20 — Each of these twenty functions supplies a single header attribute for the XML output. The numbering reflects a sequential mapping to template placeholders. Because the package contains 270 total routines, the numbering scheme almost certainly continues beyond HEADER_FUNCTION20 into additional numeric ranges and likely includes similarly structured families for line-level or detail-level elements.

Per the ETRM excerpt, no parameter lists are documented for these routines. Consistent with the XML_VIEW pattern, each function is expected to resolve its data context implicitly — typically from package-level state or session context established by the calling publisher program — and return a scalar value. No parameter signatures should be assumed or fabricated.

Tables Accessed

The documented metadata for APPS.AR_XML_VIEW_FUNCTIONS lists no tables referenced via APPS synonyms. This is a notable characteristic: the package body's direct dependency list contains only APPS and SYS.STANDARD. Accordingly, data retrieval for the header functions is not performed through direct SQL against base Receivables tables such as RA_CUSTOMERS, RA_CUST_TRX_TYPES_ALL, or AR_PAYMENT_SCHEDULES_ALL within this package body itself. Instead, values are most plausibly sourced from package variables, parameters, or helper functions declared in the package specification, or from other packages in the nine-package reference chain. Any statement asserting specific table access by this package body would be unsupported by the ETRM record and should not be relied upon during impact analysis. Analysts should trace the nine referencing packages to identify where the underlying queries reside.

Usage Notes

This package is an internal component and is not intended for direct invocation from custom code. It is most commonly exercised indirectly through Oracle XML Publisher data definitions and RTF or XSL-FO templates executed for Receivables documents, and potentially through Oracle Forms inquiry windows that render the same XML view. The absence of any documented table dependencies, combined with the presence of 270 granular functions, indicates a deliberately thin presentation-layer package whose sole responsibility is value extraction and formatting for template consumption. Because the ETRM records it as referenced by nine other packages, changes to its function signatures or return semantics carry downstream risk across those dependents and should be evaluated through the standard EBS patching and impact-analysis process. Customizations should target the supported Receivables extraction APIs rather than modifying or calling AR_XML_VIEW_FUNCTIONS directly.