Results for “ussgl_trx_code_context”

5 results




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

Overview

The view APPS.JG_PO_REL_TAX_LINES_SUMMARY_V is a Regional Localizations (JG) component in Oracle E-Business Suite 12.1.1 and 12.2.2. It exposes summarized tax line information for purchase order releases, joining purchasing release, line location, distribution, vendor, currency, inventory item, and tax code data into a single denormalized row set. Its purpose is to present the tax attributes required for reporting, reconciliation, and downstream localization processing (notably tax reporting for jurisdictions supported by JG), without requiring the consuming application to reconstruct the multi-table join across Purchasing and Payables tax tables.

The view is documented in ETRM with owner APPS and a status of VALID. It is a reporting and integration object rather than a transaction-entry entity: it is read-only by definition (a view), and its columns are largely sourced from Purchasing base views and reference tables, with tax attributes supplied by AP_TAX_CODES and tax grouping logic associated with AR_TAX_GROUP_CODES.

Underlying Base Objects

The view is defined over a mixture of PO base views and shared reference tables:

ETRM additionally records DUAL as a referenced base object, reflecting the presence of NULL placeholder columns and scalar expressions within the view definition. The join condition links release, line location, and distribution rows on the shared release identifier and line location identifiers.

Key Columns

Common Use Cases and Queries

The view is typically queried to reconcile tax computed on purchase releases against tax code setup, or to extract release-level tax attributes for a localization report. Because the view intends to summarize tax lines, filtering by release, vendor, or ledger is common.

  • Listing tax lines for a specific release and vendor site.
  • Auditing tax rates applied against the AP_TAX_CODES definition, useful when investigating the "tax_group" concept referenced in the source comments.
  • Extracting taxable versus non-taxable release lines for indirect tax reporting.

Sample query for a given release:

SELECT po_release_id, line_location_id, po_distribution_id, currency_code, vendor_name, item_id, segment1, quantity, unit_price, taxable_flag, tax_id, tax_rate, tax_type FROM apps.jg_po_rel_tax_lines_summary_v WHERE po_release_id = :p_release_id;

The source comments — "GET TAX_ID FROM AP_TAX_CODES FOR TAX GROUP" and "CHANGE TO GET RECOVERY_RATE FROM DOCUMENT FOR A TAX GROUP" — indicate that several columns are provisional and that the tax group construct is central to interpreting the view's tax columns. Users searching for "tax_group" should note that the view joins AR_TAX_GROUP_CODES, and the referenced tax attributes should be validated against the tax group configuration in the relevant Payables and Receivables tax setups for the ledger in use.