Results for “applied_to_trx_line_id”

2 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

ZX_TRANSACTION_LINES_V is an APPS-owned database view in Oracle E-Business Suite that exposes transaction line records used by the E-Business Tax (E-Business Tax / ZX) engine, commonly referred to as ETRM (E-Business Tax Repository Management). Although the view is registered under the FND – Application Object Library product grouping in the object metadata, its naming and column set place it squarely within the tax determination and tax line storage domain. The view presents one row per tax-relevant transaction line, enriched with descriptive attributes such as organization name, product classification, and party site references, so that reporting and integration consumers can query meaningful business data without joining the underlying normalized base tables directly.

The view is valid and available in both EBS 12.1.1 and 12.2.2. It serves as a read-oriented presentation layer over the ZX_TRANSACTION_LINES synonym, providing a stable and denormalized interface for downstream reports, extracts, and integrations that need transaction line detail for tax calculation, tax reporting, and reconciliation purposes.

Underlying Base Objects

The documented base objects referenced by ZX_TRANSACTION_LINES_V are:

  • ZX_TRANSACTION_LINES (SYNONYM) — the primary source of transaction line data; the view selects its core columns from this object (aliased TRL in the view text).
  • ORG_ORGANIZATION_DEFINITIONS (VIEW) — supplies the organization name exposed as PRODUCT_ORG_DESC, joined on the product organization identifier.
  • ZX_PRODUCT_TYPES_V (VIEW) — supplies the product classification name used to derive PRODUCT_TYPE_DESC, except when the product type is 'MEMOS'.
  • FND_GLOBAL (PACKAGE) — used for session context such as the current application and user environment.
  • HR_GENERAL and HR_SECURITY (PACKAGES) — used for organization and security context resolution, ensuring only authorized organization data is exposed.

The view therefore acts as a consolidated access point, combining transactional tax line records with organizational and product descriptive metadata.

Key Columns

Common Use Cases and Queries

Typical scenarios include tax reporting and reconciliation, integration extracts to external tax systems, and analytical reporting on transaction lines by organization or product type.

  • Retrieving transaction line detail for a given transaction:
SELECT trx_line_id, trx_id, trx_line_number, line_amt, tax
FROM   apps.zx_transaction_lines_v
WHERE  trx_id = :p_trx_id;
  • Summarizing line amounts by product organization:
SELECT product_org_desc, COUNT(*) line_count, SUM(line_amt) total_amt
FROM   apps.zx_transaction_lines_v
GROUP  BY product_org_desc;
  • Filtering lines by product type or tax regime for reporting extracts:
SELECT trx_line_id, product_type_desc, tax_regime_code, tax
FROM   apps.zx_transaction_lines_v
WHERE  tax_regime_code = :p_regime
AND    product_type_desc IS NOT NULL;

Because the view enforces organization security through HR_SECURITY and related packages, query results are automatically restricted to the organizations accessible to the current session, making it suitable for production reporting without additional security predicates.