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:
PO_RELEASES_V,PO_LINE_LOCATIONS_RELEASE_V, andPO_DISTRIBUTIONS— the purchasing release, shipment line location, and distribution detail that drive the join.PO_VENDORS,PO_VENDOR_SITES, andPO_LINE_TYPES— supplier, supplier site, and line type attributes.MTL_SYSTEM_ITEMS,MTL_CATEGORIES— inventory item and category reference data.HR_LOCATIONS— ship-to and site location details (country, town/city, postal code).FND_CURRENCIES,FINANCIALS_SYSTEM_PARAMETERS— currency precision/accountable unit and set of books context (the latter in 12.1.1 terms; in 12.2.2 this maps to the ledger/legal entity reporting context).AP_TAX_CODES— tax identifier, tax rate, tax type, and description.AR_TAX_GROUP_CODES— tax group code reference, joined to support grouped tax determination.
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
PO_RELEASE_ID,LINE_LOCATION_ID,PO_DISTRIBUTION_ID— primary identifying keys for the release, shipment, and distribution.SET_OF_BOOKS_ID,CURRENCY_CODE,PRECISION,MINIMUM_ACCOUNTABLE_UNIT— reporting ledger and currency context.VENDOR_ID,VENDOR_NAME,VENDOR_SITE_IDand site address columns (COUNTRY,STATE,COUNTY,ZIP) — supplier identification and place-of-supply information.ITEM_ID,SEGMENT1,QUANTITY,QUANTITY_ORDERED,UNIT_PRICE,PRICE_OVERRIDE— item and pricing attributes for the release line.TAXABLE_FLAG,TAX_USER_OVERRIDE_FLAG,TAX_ID,TAX_RATE,TAX_TYPE,DESCRIPTION— tax determination and tax code attributes fromAP_TAX_CODES.RECOVERY_RATE,TAX_RECOVERY_OVERRIDE_FLAG, andAP_TAX_ROUNDING_RULE— tax recovery and rounding behavior.SHIP_TO_LOCATION_ID,SHIP_TO_ORGANIZATION_ID,CODE_COMBINATION_ID— ship-to and accounting distribution references.PROJECT_ID,TASK_ID,EXPENDITURE_TYPE,EXPENDITURE_ORGANIZATION_ID,EXPENDITURE_ITEM_DATE— project and expenditure attribution carried from the distribution.
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_CODESdefinition, 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.
-
APPS.JG_PO_REL_TAX_LINES_SUMMARY_V·↳ AP_TAX_CODES·↳ AR_TAX_GROUP_CODES·↳ FINANCIALS_SYSTEM_PARAMETERS·Explore JG module →
-
APPS.JG_PO_TAX_LINES_SUMMARY_V·↳ AP_TAX_CODES·↳ AR_TAX_GROUP_CODES·↳ FINANCIALS_SYSTEM_PARAMETERS·Explore JG module →
-
APPS.JG_AP_TAX_LINES_SUMMARY_V·↳ AP_INVOICES·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_TAX_CODES·Explore JG module →
-
APPS.JG_PO_REQ_TAX_LINES_SUMMARY_V·↳ AP_TAX_CODES·↳ AR_TAX_GROUP_CODES·↳ FINANCIALS_SYSTEM_PARAMETERS·Explore JG module →
-
No longer used
APPS.JG_AP_TAX_LINES_SUMMARY_V·↳ AP_INVOICES·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_SUPPLIERS·Explore JG module →