Search Results zx_lines
Overview
The ZX_LINES table is a core transactional data repository within the Oracle E-Business Tax (ZX) module for Oracle EBS releases 12.1.1 and 12.2.2. It serves as the central table for storing detailed, line-level tax calculations resulting from the tax determination engine. Every tax calculated for a transaction line—such as an invoice line, order line, or receipt line—is recorded as a distinct record in this table. Its role is critical for maintaining a granular, auditable history of all tax calculations, adjustments, and applications across the enterprise's financial and supply chain transactions.
Key Information Stored
Each record in ZX_LINES represents a single calculated tax line. The table's primary key is TAX_LINE_ID. Key columns store the calculated tax amount, the tax determination logic used, and references to the source transaction. Important columns include TAX_AMT (the calculated tax amount), TRX_LINE_ID and TRX_ID (linking to the source transaction line and header), and APPLICATION_ID and ENTITY_CODE (identifying the originating EBS module, such as Payables or Receivables). Crucially, the table holds foreign keys to the core E-Business Tax setup tables, including TAX_REGIME_CODE, TAX_ID, TAX_STATUS_ID, and TAX_RATE_ID, which define the specific tax rule applied. Other significant columns manage adjustments, summarization, and multi-currency reporting.
Common Use Cases and Queries
This table is essential for tax reporting, reconciliation, and audit inquiries. Common use cases include analyzing tax amounts by jurisdiction for a specific invoice batch, reconciling the tax general ledger accounts, and debugging tax calculation issues. A typical query joins ZX_LINES to transaction tables and tax setup tables to retrieve a comprehensive tax report. For example, to analyze tax lines for Payables invoices, one might use a pattern similar to:
- SELECT zl.tax_line_id, zl.trx_id, zl.tax_amt, ztr.tax_regime_code, zt.tax
- FROM zx_lines zl
- JOIN zx_taxes_b zt ON zl.tax_id = zt.tax_id
- JOIN zx_regimes_b ztr ON zl.tax_regime_code = ztr.tax_regime_code
- WHERE zl.application_id = 200
- AND zl.entity_code = 'AP_INVOICES'
- AND zl.trx_id = :p_invoice_id;
Direct data manipulation (DML) on this table is strongly discouraged, as all modifications should occur through the standard E-Business Tax public APIs.
Related Objects
ZX_LINES has extensive relationships with other E-Business Tax objects, primarily through foreign key constraints. Key documented relationships include:
- ZX_TAXES_B, ZX_RATES_B, ZX_STATUS_B, ZX_REGIMES_B: Links to the core tax setup definitions (TAX_ID, TAX_RATE_ID, TAX_STATUS_ID, TAX_REGIME_CODE).
- ZX_PROCESS_RESULTS: Linked via multiple columns (e.g., CALC_RESULT_ID, TAX_DATE_RULE_ID) to store detailed outputs of various tax determination processes.
- ZX_LINES_SUMMARY: Linked via SUMMARY_TAX_LINE_ID for summarization of detailed tax lines.
- ZX_LINES (Self-Referential): Linked via columns like OFFSET_LINK_TO_TAX_LINE_ID, ADJUSTED_DOC_TAX_LINE_ID, and REVERSED_TAX_LINE_ID to manage adjustments, reversals, and links between tax lines.
- ZX_PARTY_TAX_PROFILE: Linked via multiple columns (e.g., CONTENT_OWNER_ID, TAX_PROVIDER_ID) for party-specific tax profile information.
- FND_CURRENCIES: Linked for transaction and reporting currency codes (TRX_CURRENCY_CODE, REPORTING_CURRENCY_CODE).
- ZX_EXCEPTIONS, ZX_REGISTRATIONS: Linked for tax exception and registration data.
-
Table: ZX_LINES
12.2.2
owner:ZX, object_type:TABLE, fnd_design_data:ZX.ZX_LINES, object_name:ZX_LINES, status:VALID, product: ZX - E-Business Tax , description: This table stores detail tax lines for transactions of multiple event classes. , implementation_dba_data: ZX.ZX_LINES ,
-
Table: ZX_LINES
12.1.1
owner:ZX, object_type:TABLE, fnd_design_data:ZX.ZX_LINES, object_name:ZX_LINES, status:VALID, product: ZX - E-Business Tax , description: This table stores detail tax lines for transactions of multiple event classes. , implementation_dba_data: ZX.ZX_LINES ,
-
APPS.ARP_ETAX_SERVICES_PKG dependencies on ZX_LINES
12.1.1
-
APPS.OKL_LA_SALES_TAX_PVT dependencies on ZX_LINES
12.1.1
-
APPS.ZX_AR_POPULATE_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JG_ZZ_VAT_REP_FINAL_REPORTING dependencies on ZX_LINES
12.1.1
-
APPS.ZX_ON_FLY_TRX_UPGRADE_AR_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JE_ZZ_AUDIT_AP_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JG_ZZ_SUMMARY_AP_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JMF_GTA_ARTRX_PROC dependencies on ZX_LINES
12.1.1
-
APPS.JG_ZZ_VAT_PRE_REP_PROC_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_RULE_BASE_DETM_PVT dependencies on ZX_LINES
12.1.1
-
APPS.OKL_BILL_UPFRONT_TAX_PVT dependencies on ZX_LINES
12.1.1
-
APPS.OKL_CS_LC_CONTRACT_PVT dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRL_PUB_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRL_ALLOCATIONS_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JG_ZZ_VAT_SELECTION_PKG dependencies on ZX_LINES
12.2.2
-
APPS.ZX_TRL_ALLOCATIONS_PKG dependencies on ZX_LINES
12.2.2
-
APPS.ZX_TDS_TAX_ROUNDING_PKG dependencies on ZX_LINES
12.2.2
-
APPS.ZX_TRX_DETAIL dependencies on ZX_LINES
12.2.2
-
APPS.ARP_ETAX_AUTOINV_UTIL dependencies on ZX_LINES
12.2.2
-
APPS.ZX_TRD_INTERNAL_SERVICES_PVT dependencies on ZX_LINES
12.2.2
-
APPS.ZX_ON_FLY_TRX_UPGRADE_PO_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRX_DETAIL dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_REVERSE_DOCUMENT_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRL_DISTRIBUTIONS_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_CALC_PKG dependencies on ZX_LINES
12.1.1
-
APPS.AP_ETAX_UTILITY_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JE_REVERSE_SALES_LIST_PKG dependencies on ZX_LINES
12.2.2
-
APPS.ARP_ETAX_INVAPI_UTIL dependencies on ZX_LINES
12.2.2
-
APPS.ZX_TAXWARE_TAX_SERVICE_PKG dependencies on ZX_LINES
12.2.2
-
APPS.OKL_TCL_PVT dependencies on ZX_LINES
12.2.2
-
APPS.ARP_ETAX_AUTOINV_UTIL dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_IMPORT_DOCUMENT_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRD_INTERNAL_SERVICES_PVT dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_UTILITIES_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_SRVC_TYP_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_TAX_LINES_POPU_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRL_DETAIL_OVERRIDE_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_ON_DEMAND_TRX_UPGRADE_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TRD_SERVICES_PUB_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_EXTRACT_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TDS_RULE_BASE_DETM_PVT dependencies on ZX_LINES
12.1.1
-
APPS.ZX_CORE_REP_EXTRACT_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TCM_CONTROL_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_AP_POPULATE_PKG dependencies on ZX_LINES
12.1.1
-
APPS.JE_REVERSE_SALES_LIST_PKG dependencies on ZX_LINES
12.1.1
-
APPS.IGC_ETAX_UTIL_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_TAXWARE_USER_PKG dependencies on ZX_LINES
12.1.1
-
APPS.ZX_VERTEX_TAX_SERVICE_PKG dependencies on ZX_LINES
12.1.1