Search Results jg_zz_audit_ar_pkg
Overview
The APPS.JG_ZZ_AUDIT_AR_PKG package body is a Global Taxation (JG) component that supports the Annual VAT Audit Report within Oracle E-Business Suite. The package is written as the backend implementation for the AUDIT-AR report, whose specification was originally authored to generate audit reporting consistent with regional VAT (Value Added Tax) requirements. The header identifies the source script as jgzzauditarb.pls, and the revision history shows an initial draft in January 2005 by Murali V, with subsequent corrections driven by unit testing and bug fixes tracked under references such as Bug 5189166, Bug 5125654, Bug 5225958, and Bug 5194991. The latter revision, dated August 2005, incorporated reprint functionality into the report logic.
The package is classified in ETRM as an "OTHER" API type, indicating it is not a public interfaces API but rather an internal reporting support package. Its principal role is to supply the data preparation logic executed at report runtime, coordinating VAT transaction detail, party site, and receivables data into a form suitable for the audit output.
Key Procedures and Functions
The documented metadata lists a single procedure/function for this package: BEFOREREPORT. In Oracle Reports, the BeforeReport trigger fires once, prior to the execution of the report's data model queries, and is commonly used to initialize global variables, evaluate parameters, or invoke package logic. Here, BEFOREREPORT contains an embedded PL/SQL block, including the declaration of a local numeric variable l_precision and a cursor designated for the JEBEVA17 Annual VAT Audit Report. That cursor selects audit rows for VAT reporting. The revision history notes a specific change in which the cursor was modified to remove usage of hz_cust_account_sites by eliminating an outer join, and instead joining jg_zz_vat_trx_details.billing_tp_site_id directly to hps.party_site_id. This change is directly relevant to the term "hz_cust_account_sites" associated with this object. No parameter lists are documented for this procedure, and none should be assumed beyond what the metadata confirms.
Tables Accessed
The package reads from a broad set of APPS synonyms supporting receivables, trading partners, and VAT reporting:
HZ_CUST_ACCT_SITES_ALLandHZ_PARTY_SITES— customer account site and party site information, used for billing and address details; the refactoring removed reliance onHZ_CUST_ACCOUNT_SITESin favor of direct party site joins.HZ_LOCATIONS— address elements such as address line 1, used to populate the customer address fields in the audit output.HZ_PARTIESandHZ_CONTACT_POINTS— party identity and contact data for the audited customers.JG_ZZ_VAT_TRX_DETAILSandJG_ZZ_VAT_TRX_GT— the core VAT transaction detail and global temporary staging tables supplying document sequence values, billing third-party names, and site identifiers.JG_ZZ_VAT_REP_STATUS— VAT reporting status used to determine reportable transactions.RA_CUSTOMER_TRX_ALLandRA_CUST_TRX_TYPES— receivables transactions and their transaction types, providing the AR context for audit reporting.XLE_REGISTRATIONS— legal entity and registration information relevant to tax reporting jurisdictions.
Usage Notes
The package is invoked in the context of the Annual VAT Audit Report, typically as the report-level BeforeReport logic within an Oracle Reports executable. It is registered under the APPS schema and is not referenced by any other packaged APIs, confirming its role as a report-specific utility rather than a shared library. Because it contains a reprint capability, organizations may run the report in both original and reprint modes for the same reporting period. Support and customization efforts should account for the historical fix to remove the hz_cust_account_sites outer join, ensuring any custom copies of the report logic use the party site join path described in version 120.3 of the source. The package remains relevant in EBS 12.1.1 and 12.2.2 environments where VAT audit reporting obligations apply.
-
PACKAGE BODY: APPS.JG_ZZ_AUDIT_AR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JG_ZZ_AUDIT_AR_PKG, status:VALID,
-
PACKAGE: APPS.JG_ZZ_AUDIT_AR_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_AUDIT_AR_PKG, status:VALID,
-
PACKAGE: APPS.JG_ZZ_AUDIT_AR_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_AUDIT_AR_PKG, status:VALID,
-
PACKAGE BODY: APPS.JG_ZZ_AUDIT_AR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JG_ZZ_AUDIT_AR_PKG, status:VALID,
-
PACKAGE: APPS.JG_ZZ_AUDIT_AR_PKG
12.2.2
-
PACKAGE: APPS.JG_ZZ_AUDIT_AR_PKG
12.1.1
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.JG_ZZ_VAT_TRX_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JG_ZZ_VAT_TRX_GT, status:VALID,
-
PACKAGE: APPS.JG_ZZ_COMMON_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_COMMON_PKG, status:VALID,
-
PACKAGE: APPS.JG_ZZ_VAT_REP_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_VAT_REP_UTILITY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.JG_ZZ_VAT_REP_STATUS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JG_ZZ_VAT_REP_STATUS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.JG_ZZ_VAT_TRX_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JG_ZZ_VAT_TRX_DETAILS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.JG_ZZ_COMMON_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_COMMON_PKG, status:VALID,
-
SYNONYM: APPS.JG_ZZ_VAT_TRX_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JG_ZZ_VAT_TRX_DETAILS, status:VALID,
-
SYNONYM: APPS.JG_ZZ_VAT_TRX_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JG_ZZ_VAT_TRX_GT, status:VALID,
-
PACKAGE: APPS.JG_ZZ_VAT_REP_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_VAT_REP_UTILITY, status:VALID,
-
SYNONYM: APPS.JG_ZZ_VAT_REP_STATUS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JG_ZZ_VAT_REP_STATUS, status:VALID,
-
SYNONYM: APPS.XLE_REGISTRATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLE_REGISTRATIONS, status:VALID,
-
SYNONYM: APPS.XLE_REGISTRATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLE_REGISTRATIONS, status:VALID,
-
PACKAGE BODY: APPS.JG_ZZ_AUDIT_AR_PKG
12.2.2
-
PACKAGE BODY: APPS.JG_ZZ_AUDIT_AR_PKG
12.1.1
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
APPS.JG_ZZ_AUDIT_AR_PKG dependencies on JG_ZZ_AUDIT_AR_PKG
12.2.2
-
APPS.JG_ZZ_AUDIT_AR_PKG dependencies on JG_ZZ_AUDIT_AR_PKG
12.1.1
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CONTACT_POINTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CONTACT_POINTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CONTACT_POINTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CONTACT_POINTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
VIEW: APPS.FND_CURRENCIES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_CURRENCIES_VL, object_name:FND_CURRENCIES_VL, status:VALID,
-
VIEW: APPS.FND_CURRENCIES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_CURRENCIES_VL, object_name:FND_CURRENCIES_VL, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, status:VALID,
-
APPS.JG_ZZ_AUDIT_AR_PKG dependencies on FND_FILE
12.2.2
-
APPS.JG_ZZ_AUDIT_AR_PKG dependencies on FND_FILE
12.1.1
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, 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
-
12.1.1 DBA Data
12.1.1