Results for “ar_gta_trx_headers_v”

19 results




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

Overview

AR_GTA_TRX_HEADERS_V is an APPS-owned view in the Oracle E-Business Suite Receivables (AR) module that exposes header-level information for Global Tax and Accounting (GTA) invoices. GTA is the mechanism used in Latin American localizations—most notably Brazil—to generate fiscal documents such as Nota Fiscal and related tax reporting records. The view consolidates data spanning invoice header, customer, bank, currency, tax, batch, and Organization Unit information into a single denormalized structure, making it suitable for reporting, integration with external tax engines, and downstream extraction programs. The view carries a status of VALID and is available in both 12.1.1 and 12.2.2 releases. Because it maps directly onto underlying transactional base tables, it provides a stable read-only interface that shields report developers from the complexities of joining the GTA rule and transaction tables.

Underlying Base Objects

The view is defined over several physical objects and one PL/SQL package. The primary driver is AR_GTA_TRX_HEADERS_ALL, which stores the header records for every GTA transaction generated from a Receivables invoice. Supporting joins include:

The view columns are predominantly direct projections of columns on AR_GTA_TRX_HEADERS_ALL, meaning any DML executed against the base table is immediately visible through the view.

Key Columns

The view exposes a wide set of identifying, financial, and localization-specific columns:

Common Use Cases and Queries

Report developers and integration engineers commonly query this view to reconcile GTA invoices, extract fiscal reporting data, and verify currency and conversion details. A typical query filtering on the currency column follows:

  • SELECT gta_trx_number, ra_trx_number, gt_invoice_number, ra_currency_code, conversion_rate, gt_invoice_net_amount, gt_invoice_tax_amount FROM apps.ar_gta_trx_headers_v WHERE ra_currency_code = 'BRL' AND org_id = :p_org_id;
  • To retrieve the latest version of each GTA invoice: SELECT * FROM apps.ar_gta_trx_headers_v WHERE latest_version_flag = 'Y';
  • To link back to Receivables: SELECT h.gta_trx_number, t.trx_number FROM apps.ar_gta_trx_headers_v h, apps.ra_customer_trx_all t WHERE h.ra_trx_id = t.customer_trx_id;

Because the view is a thin projection over the base GTA table, queries should always restrict on ORG_ID in a multi-org environment to satisfy operating unit security. It is also advisable to filter on CANCEL_FLAG = 'N' when extracting active fiscal documents.