Search Results insert_tax_data
Overview
ZX_AP_EXTRACT_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that forms part of the E-Business Tax (EBTax) extraction infrastructure. Its principal documented role is to support the extraction of Payables transaction tax data for reporting and downstream tax processing, notably the reconstruction of reporting transaction detail held in the ZX reporting tables. The package encapsulates the logic required to insert tax-relevant rows into the reporting transaction detail structures based on a set of context and selection criteria passed in from the calling extract program.
The package is documented as an API of classification "OTHER", indicating that it is not a formally published public API in the sense of an open interface, but rather an internal component invoked by Oracle's tax extraction framework. The header comment records that the package was created by Srinivasa Rao Korrapati and carries the internal header identifier zxripextractpvts.pls, version 120.0, indicating a private or semi-private component in the tax reporting subsystem.
Key Procedures and Functions
One procedure is documented in the ETRM metadata:
- INSERT_TAX_DATA — The only documented program unit in the package. Its stated purpose is to accept input parameters originating from ARP_TAX_EXTRACT and to build dynamic SQL statement clauses from those parameters, returning the constructed clauses as output parameters. The procedure is declared with a single IN OUT NOCOPY parameter typed as ZX_EXTRACT_PKG.TRL_GLOBAL_VARIABLES_REC_TYPE, which carries the extraction global variables used to drive the dynamic SQL construction. The NOCOPY hint indicates that the record structure is passed by reference for performance. The procedure operates on a public scope as documented in the procedure header.
The metadata does not document any functions, additional procedures, or constants beyond INSERT_TAX_DATA. The docket comment notes that the procedure was created on 11-Jan-2005.
Tables Accessed
The package references the following tables, primarily through APPS synonyms:
- AP_INVOICES_ALL and AP_INVOICE_DISTRIBUTIONS_ALL — the primary Payables invoice and distribution tables, read to source invoice-level and distribution-level tax data for extraction.
- AP_HOLDS and AP_HOLD_CODES — read to identify invoice holds and their associated hold codes, which can affect whether an invoice or distribution is eligible for tax extraction and reporting.
- ZX_REP_TRX_DETAIL_T and ZX_REP_TRX_DETAIL_T_S — the E-Business Tax reporting transaction detail table and its sequence, which receive the inserted tax rows. The "_S" suffix reflects the sequence used to generate surrogate keys for the detail records.
- DUAL — used in dynamic SQL construction and single-row selection contexts.
- PLITBLM — an Oracle-supplied internal table used in conjunction with PL/SQL table/array handling, typically associated with PL/SQL table operations in EBS packages.
Usage Notes
ZX_AP_EXTRACT_PKG is invoked from within the Oracle tax extraction framework rather than directly by end users. The documented relationship shows it is referenced by one other package, and the procedure description explicitly states that it receives parameters from ARP_TAX_EXTRACT, indicating that the extraction driver for Payables tax data calls INSERT_TAX_DATA as part of a larger reporting or extract cycle.
Because INSERT_TAX_DATA builds dynamic SQL based on the supplied global variable record, the calling context must populate the record with valid selection criteria and extraction context values before invocation. The procedure does not expose a documented standalone public interface for third-party use; customisations should avoid direct invocation and instead rely on supported extraction programs. Any modification to the package header or the TRL_GLOBAL_VARIABLES_REC_TYPE structure would affect dependent code, and the presence of a NOCOPY parameter makes aliasing and modification of the caller's record a consideration during debugging.
-
PACKAGE: APPS.ZX_AP_EXTRACT_PKG
12.1.1
-
PACKAGE: APPS.ZX_AP_ACTG_EXTRACT_PKG
12.2.2
-
PACKAGE: APPS.ZX_AP_EXTRACT_PKG
12.2.2
-
PACKAGE: APPS.ZX_AP_ACTG_EXTRACT_PKG
12.1.1
-
PACKAGE: APPS.ZX_GL_EXTRACT_PKG
12.1.1
-
PACKAGE: APPS.ZX_GL_EXTRACT_PKG
12.2.2
-
APPS.JE_IT_LISTING_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.ZX_AR_EXTRACT_PKG
12.1.1
-
PACKAGE: APPS.ZX_AR_ACTG_EXTRACT_PKG
12.2.2
-
PACKAGE: APPS.ZX_AR_EXTRACT_PKG
12.2.2
-
PACKAGE: APPS.ZX_AR_ACTG_EXTRACT_PKG
12.1.1
-
APPS.PER_QH_TAX_UPDATE SQL Statements
12.2.2
-
APPS.PER_QH_TAX_UPDATE SQL Statements
12.1.1
-
APPS.ZX_GL_EXTRACT_PKG SQL Statements
12.1.1
-
APPS.ZX_AP_EXTRACT_PKG SQL Statements
12.1.1
-
APPS.ZX_GL_EXTRACT_PKG SQL Statements
12.2.2
-
APPS.ZX_AP_ACTG_EXTRACT_PKG SQL Statements
12.2.2
-
APPS.ZX_AP_ACTG_EXTRACT_PKG SQL Statements
12.1.1
-
APPS.ZX_AP_EXTRACT_PKG SQL Statements
12.2.2
-
APPS.JG_ZZ_VAT_SELECTION_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.JE_IT_LISTING_PKG
12.1.1
-
APPS.JG_ZZ_VAT_SELECTION_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PER_QH_TAX_UPDATE
12.2.2
-
PACKAGE BODY: APPS.PER_QH_TAX_UPDATE
12.1.1
-
PACKAGE: APPS.PER_QH_TAX_UPDATE
12.2.2
-
PACKAGE: APPS.PER_QH_TAX_UPDATE
12.1.1
-
APPS.ZX_AR_ACTG_EXTRACT_PKG SQL Statements
12.2.2
-
APPS.ZX_AR_ACTG_EXTRACT_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.ZX_AP_ACTG_EXTRACT_PKG
12.2.2
-
PACKAGE BODY: APPS.ZX_AP_ACTG_EXTRACT_PKG
12.1.1
-
PACKAGE BODY: APPS.ZX_AP_EXTRACT_PKG
12.1.1
-
PACKAGE BODY: APPS.JG_ZZ_VAT_SELECTION_PKG
12.1.1
-
APPS.ZX_AR_EXTRACT_PKG SQL Statements
12.1.1
-
APPS.ZX_AR_EXTRACT_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JG_ZZ_VAT_SELECTION_PKG
12.2.2
-
PACKAGE BODY: APPS.ZX_AP_EXTRACT_PKG
12.2.2
-
PACKAGE BODY: APPS.ZX_GL_EXTRACT_PKG
12.1.1
-
PACKAGE BODY: APPS.ZX_GL_EXTRACT_PKG
12.2.2
-
APPS.ZX_GL_EXTRACT_PKG dependencies on ZX_EXTRACT_PKG
12.2.2
-
APPS.ZX_GL_EXTRACT_PKG dependencies on ZX_EXTRACT_PKG
12.1.1
-
APPS.PER_QH_TAX_UPDATE dependencies on PER_ALL_ASSIGNMENTS_F
12.1.1
-
APPS.PER_QH_TAX_UPDATE dependencies on PER_QH_TAX_QUERY
12.1.1
-
APPS.PER_QH_TAX_UPDATE dependencies on PER_QH_TAX_QUERY
12.2.2
-
APPS.PER_QH_TAX_UPDATE dependencies on PER_ALL_PEOPLE_F
12.1.1
-
APPS.PER_QH_TAX_UPDATE dependencies on PER_ALL_PEOPLE_F
12.2.2
-
APPS.PER_QH_TAX_UPDATE dependencies on PER_ALL_ASSIGNMENTS_F
12.2.2
-
APPS.ZX_AP_ACTG_EXTRACT_PKG dependencies on ZX_EXTRACT_PKG
12.2.2
-
APPS.ZX_AP_ACTG_EXTRACT_PKG dependencies on FND_MESSAGE
12.1.1
-
APPS.ZX_AP_ACTG_EXTRACT_PKG dependencies on FND_MESSAGE
12.2.2
-
APPS.ZX_AP_ACTG_EXTRACT_PKG dependencies on ZX_EXTRACT_PKG
12.1.1