Search Results jgrx_wt
Overview
JGRX_WT is an Oracle E-Business Suite PL/SQL package body owned by the APPS schema that supports global withholding tax (WHT) reporting and extraction for Financials. The "JGRX" prefix identifies the object as part of the Oracle Financials global (JG) reporting suite, and the "_WT" suffix denotes the withholding tax reporting component. In Oracle EBS 12.1.1 and 12.2.2, withholding tax functionality spans Payables, Purchasing, and Receivables, and JGRX_WT operates in that space by combining a standard cost or reporting extract with an XML Publisher–style report lifecycle.
The package's dependency list confirms this role: it references AP_INVOICE_DISTRIBUTIONS_ALL, AP_UTILITIES_PKG, FA_RX_FLEX_PKG, FA_RX_UTIL_PKG, FND_MO_REPORTING_API, FND_LOOKUPS, FND_PROFILE, GL_SETS_OF_BOOKS, and PO_LOOKUP_CODES. Collectively these objects provide invoice distribution data, key flexfield handling, reporting infrastructure, lookup semantics, profile option values, and chart of accounts context — the exact inputs required to produce a withholding tax report.
Key Procedures and Functions
ETRM documents nine program units within this package, which follow a conventional report flow:
- BEFORE_REPORT — Performs report initialization and setup logic prior to the main data query.
- WHT_BEFORE_REPORT — The withholding-tax-specific variant of the before-report phase, applying WHT-specific parameters or filters.
- WHT_BIND — Binds values into the query or cursor used to drive the WHT extract.
- WHT_AFTER_FETCH — Executes row-level post-processing after each fetch, which is where WHT calculation, translation, or formatting is typically applied.
- JG_WHT_EXTRACT — The core extraction routine that assembles the withholding tax data set.
- GET_WITHHOLDING_TAX — Returns withholding tax information for a given context, serving as the retrieval function for tax amounts.
- GET_LOOKUP_MEANING — Resolves lookup codes to their display meanings using FND_LOOKUPS.
- SET_RETCODE — Sets a return or status code so that callers can programmatically determine success or failure.
- APPEND_ERRBUF — Appends messages to an error buffer, supporting the standard EBS error-buffer convention used by concurrent programs.
Tables Accessed
The documented table references (through APPS synonyms) are:
- AP_INVOICE_DISTRIBUTIONS_ALL — The primary source of Payables invoice distribution lines, from which withholding tax amounts and taxable bases are derived.
- AP_SYSTEM_PARAMETERS_ALL — Supplies Payables system-level defaults and accounting preferences that affect extract behavior.
- DBMS_SQL — Oracle's dynamic SQL package, used for constructing and executing the report query dynamically (consistent with the WHT_BIND routine).
- PLITBLM — A PL/SQL internal table package, typically used for buffering or joining row sets during extraction.
The package also reads GL_SETS_OF_BOOKS, FND_LOOKUPS, FND_PROFILE, and PO_LOOKUP_CODES to resolve ledger context, lookup meanings, profile values, and purchasing lookup codes respectively.
Usage Notes
JGRX_WT is invoked as part of the Oracle Financials global withholding tax reporting concurrent program rather than from interactive forms. The presence of BEFORE_REPORT, WHT_BIND, and WHT_AFTER_FETCH indicates it drives a report data model, and SET_RETCODE / APPEND_ERRBUF confirm it complies with the EBS concurrent program error-handling convention. ETRM states the package is not referenced by any database object, meaning it is an entry-point or top-level report package rather than a shared utility. Because it is a package body that is not publicly referenced, customizations should not call its internal routines directly; instead, custom code should invoke the corresponding concurrent program or replicate the extract logic against the underlying base tables.
-
PACKAGE BODY: APPS.JGRX_WT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JGRX_WT, status:VALID,
-
PACKAGE: APPS.JGRX_WT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JGRX_WT, status:VALID,
-
PACKAGE: APPS.JGRX_WT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JGRX_WT, status:VALID,
-
PACKAGE BODY: APPS.JGRX_WT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JGRX_WT, status:VALID,
-
PACKAGE BODY: APPS.JGRX_C_WT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JGRX_C_WT, status:VALID,
-
PACKAGE BODY: APPS.JGRX_C_WT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JGRX_C_WT, status:VALID,
-
PACKAGE: APPS.FND_MO_REPORTING_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MO_REPORTING_API, status:VALID,
-
PACKAGE: APPS.FND_MO_REPORTING_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MO_REPORTING_API, status:VALID,
-
PACKAGE: APPS.FA_RX_FLEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_RX_FLEX_PKG, status:VALID,
-
PACKAGE: APPS.FA_RX_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_RX_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.FA_RX_FLEX_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_RX_FLEX_PKG, status:VALID,
-
PACKAGE: APPS.FA_RX_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_RX_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.JGRX_WT
12.1.1
-
SYNONYM: APPS.AP_SYSTEM_PARAMETERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_SYSTEM_PARAMETERS_ALL, status:VALID,
-
PACKAGE: APPS.JGRX_WT
12.2.2
-
PACKAGE: APPS.AP_UTILITIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_UTILITIES_PKG, status:VALID,
-
PACKAGE: APPS.AP_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_UTILITIES_PKG, status:VALID,
-
SYNONYM: APPS.AP_SYSTEM_PARAMETERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_SYSTEM_PARAMETERS_ALL, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID,
-
APPS.JGRX_WT dependencies on JGRX_WT
12.1.1
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID,
-
APPS.JGRX_WT dependencies on JGRX_WT
12.2.2
-
VIEW: APPS.PO_LOOKUP_CODES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LOOKUP_CODES, object_name:PO_LOOKUP_CODES, status:VALID,
-
APPS.JGRX_C_WT dependencies on JGRX_WT
12.1.1
-
APPS.JGRX_C_WT dependencies on JGRX_WT
12.2.2
-
VIEW: APPS.PO_LOOKUP_CODES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LOOKUP_CODES, object_name:PO_LOOKUP_CODES, status:VALID,
-
PACKAGE BODY: APPS.JGRX_WT
12.2.2
-
PACKAGE BODY: APPS.JGRX_WT
12.1.1
-
VIEW: APPS.FND_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
VIEW: APPS.FND_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
SYNONYM: PUBLIC.DBMS_SQL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_SQL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,
-
PACKAGE: SYS.DBMS_STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_STANDARD, status:VALID,
-
PACKAGE: SYS.DBMS_STANDARD
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_STANDARD, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
eTRM - PO Tables and Views
12.1.1
description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 ,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,