Search Results print_tax_names




Overview

JL_ZZ_AP_EXT_AWT_UTIL is a utility package owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM as a UTIL (utility) API. Its purpose is diagnostic and development-support oriented rather than transactional. The package provides a collection of debug and inspection routines used by the Oracle Payables withholding-tax extension logic, particularly the globalization (JL) modules that handle extended withholding tax for Latin American and other localized implementations. The package header is declared with AUTHID CURRENT_USER, meaning that all PL/SQL within it executes under the privileges and naming resolution of the calling user rather than the definer, which is a deliberate choice for a debug utility that must reflect the caller's runtime environment. The $Header line identifies the source file as jlzzpwus.pls, last modified at version 115.4, indicating this is a relatively stable, long-standing component of the JL withholding-tax codebase. The package does not expose any business-facing API; instead, it exists to surface the internal contents of PL/SQL tables used elsewhere in the withholding-tax processing flow.

Key Procedures and Functions

The package exposes five documented procedures, none of which return values:

  • DEBUG — Writes a supplied line of text to a system file. This is the fundamental logging primitive on which the other diagnostic routines rely, allowing developers to trace execution of withholding-tax logic outside the standard concurrent request log.
  • PRINT_TAX_NAMES — Displays all elements of a PL/SQL table of type JL_ZZ_AP_WITHHOLDING_PKG.Tab_Withholding, which carries payment withholding tax information. It exists purely for debug purposes, letting a developer inspect the tax names held in the collection at a given point in processing. The user search term "print_tax_names" maps directly to this procedure.
  • PRINT_TAB_ALL_WH — Displays all elements of the JL_ZZ_AP_WITHHOLDING_PKG.Tab_All_Withholding PL/SQL table, which represents the broader set of withholding records under consideration. Like PRINT_TAX_NAMES, it is a debug-only inspector.
  • PRINT_TAB_AMOUNTS — Displays all elements of the JL_AR_AP_WITHHOLDING_PKG.Tab_Amounts PL/SQL table, covering the computed withholding amounts. Again, its sole function is diagnostic visibility into collection contents.
  • INITIALIZE — Performs setup or initialization for the utility package's own state, invoked before the print routines are used.

Tables Accessed

According to the documented metadata, the package references PLITBLM and UTL_FILE through APPS synonyms. UTL_FILE is the Oracle-supplied PL/SQL file I/O package and is the mechanism by which the DEBUG procedure writes diagnostic output to a system file on the database server. PLITBLM is the underlying storage table for PL/SQL tables (index-by tables) and is referenced because the print procedures must iterate over and render the contents of the PL/SQL collections passed to them. No application business tables are read or written; the package operates entirely against infrastructure objects supporting logging and in-memory table inspection.

Usage Notes

JL_ZZ_AP_EXT_AWT_UTIL is not intended for production execution paths. It is invoked from custom code, unit-test scripts, or during development and troubleshooting of the withholding-tax extension logic, particularly when a developer needs to confirm the contents of the Tab_Withholding, Tab_All_Withholding, or Tab_Amounts collections before they are consumed by withholding calculations. Because the print routines depend on UTL_FILE for output, the database server's UTL_FILE_DIR parameter (or directory object in later releases) must be configured, and the database user must have the appropriate file privileges; without this, DEBUG and the print procedures will fail. The package is referenced by five other packages in the ETRM inventory, confirming its role as a shared debug dependency across the JL withholding-tax module. In both EBS 12.1.1 and 12.2.2 the behavior is equivalent, as the source header predates both releases. It should never be called from standard Payables concurrent programs or forms; its absence from production flows is by design, and any custom invocation should be removed or disabled before deploying to a production instance.