Search Results zx_transaction_lines_gt




Overview

ZX_TRANSACTION_LINES_GT is a Global Temporary Table (GTT) owned by the ZX schema within Oracle E-Business Tax (E-Business Tax / ETRM). It is documented as VALID in Oracle EBS 12.1.1 and 12.2.2 and serves a single, deliberately narrow purpose: to pass transaction line information into the tax calculation engine. Because it is a GTT, its rows are private to a session and are typically purged on commit or at session end, making it a transient staging structure rather than a persistent transaction store.

In the E-Business Tax architecture, the calling application (for example, Payables, Receivables, Purchasing, or Order Management) populates this table with the line-level attributes required for tax determination — parties, places of supply, product fiscal classification, amounts, and reference documents. The tax engine (ZX) reads those rows, applies configuration from the Tax Configuration Owner, and returns calculated results. The table therefore acts as the inbound contract between source applications and the tax engine.

Under a heuristic Data Vault classification, ZX_TRANSACTION_LINES_GT is modeled as standalone. It does not behave as a hub, link, or satellite; it is a transient staging object whose keys are meaningful only for the duration of a single tax calculation call rather than as durable business entities. This classification is a modeling suggestion derived from its lack of dependent relationships, not a formal Data Vault designation.

Key Information Stored

The documented physical schema for 12.2.2 contains 292 columns. The following are the most functionally significant groupings.

Common Use Cases and Queries

Because the table is a GTT, useful inspection is limited to a session that has just populated it, or to diagnostic scenarios where a committing GTT variant retains rows. Typical uses include:

  • Debugging tax determination: capturing the exact line attributes presented to the tax engine before calculation, to confirm that party, product, and date inputs were correct.
  • Reconciliation: comparing the inbound LINE_AMT against calculated totals for a specific TRX_ID.
  • Source traceability: tracing interfaces that use INTERFACE_ENTITY_CODE and INTERFACE_LINE_ID back to upstream records.
  • Cross-reference analysis: examining applied-from, applied-to, and adjusted document chains for credit and adjustment transactions.

A representative query pattern follows:

  • SELECT application_id, entity_code, event_class_code, trx_id, trx_line_id, line_amt, trx_line_currency_code FROM zx_transaction_lines_gt WHERE trx_id = :trx_id ORDER BY trx_line_number;
  • For joined reporting, the line may be joined to CN_TRX_LINES_ALL on TRX_LINE_ID, or to reference documents using REF_DOC_TRX_ID / REF_DOC_LINE_ID, to associate engine input with the persisted transaction line.
  • Because rows are session-scoped, queries should be executed in the same session that populated the table, or by schema owners with privileges to view GTT data during diagnosis.

Related Objects

The metadata documents three foreign key relationships and several implicit dependencies. The most significant related objects are:

  • CN_TRX_LINES_ALL — referenced via ZX_TRANSACTION_LINES_GT.TRX_LINE_ID; the persisted source transaction line.
  • FND_DM_PRODUCTS — referenced via PRODUCT_ID; supplies product context for tax determination.
  • IGI_DOS_TRX_SOURCES — referenced via SOURCE_TRX_ID; provides source document origin information.
  • ZX_LINES / ZX_LINES_DET_FACTORS — downstream structures where calculated tax lines and detail factors are stored after the engine processes the input.
  • ZX_TRANSACTION_HEADERS_GT — the companion header-level GTT passed alongside the line table for the same calculation call.
  • ZX_PARTY_TAX_PROFILE / ZX_LOCATION_TAX_PROFILE — resolve the many *_TAX_PROF_ID and *_SITE_TAX_PROF_ID references to party and site tax profiles.
  • ZX_API_INPUT_PARAMETERS and the ZX tax calculation API (e.g., ZX_API_PUB) — programmatic entry points that populate and invoke processing of this GTT.

Together these objects provide the input, calculation, and output context in which ZX_TRANSACTION_LINES_GT functions as the transient line-level interface into E-Business Tax.