Search Results location_context




Overview

RA_TAX_EXEMPTIONS_STRC_V is an Oracle E-Business Suite Receivables (AR) view owned by the APPS schema. It is documented in ETRM as a Release 115 (11i) construct, and its metadata remains catalogued in later releases including 12.1.1 and 12.2.2 for backward compatibility. The view presents tax exemption records maintained in Receivables in a reporting-friendly format, denormalizing the coded values held on the base tax exemption entity into their human-readable meanings.

The suffix "STRC" reflects a "structure" or presentation view, indicating that it is intended primarily for inquiry, reporting, and integration rather than for transactional processing. The view exposes the full tax exemption structure, including organization context, customer and site references, exemption type, applicable tax code, effective date ranges, exemption percentages, and the ten-segment location identifier. It also decodes the exemption status and reason code through lookups, which is the principal value it adds over the underlying table.

Because the object is documented as Release 115 only, it should be treated as a legacy reporting artifact in 12.1.1 and 12.2.2 environments. It remains valid where present, but new development should confirm the view's existence and definition in the target instance before relying upon it.

Underlying Base Objects

The ETRM metadata for 12.2.2 documents two referenced base objects: the AR_LOOKUPS view and the RA_TAX_EXEMPTIONS synonym. The view definition confirms these dependencies. RA_TAX_EXEMPTIONS supplies every fact column, while AR_LOOKUPS is joined twice to resolve decoded display values.

  • RA_TAX_EXEMPTIONS — the primary source of tax exemption rows. The view selects directly from this object using the alias EX, including ROWID as ROW_ID.
  • AR_LOOKUPS (LK1) — joined on LOOKUP_TYPE = 'TAX_EXEMPT_STATUS' and LOOKUP_CODE = STATUS, producing the STATUS_DISP column. This is an inner join.
  • AR_LOOKUPS (LK2) — outer-joined on LOOKUP_TYPE(+) = 'TAX_REASON' and LOOKUP_CODE(+) = REASON_CODE, producing REASON_CODE_DISP. The outer join allows exemptions with no reason code to remain visible.

The relationship is therefore one exemption row to one status lookup row and zero-or-one reason lookup row. No filtering predicates beyond the lookup joins are present, so the view returns all rows of RA_TAX_EXEMPTIONS that satisfy the mandatory status lookup.

Key Columns

Common Use Cases and Queries

Typical uses include auditing active customer tax exemptions, reconciling exemption certificates against tax calculation results, and feeding external tax engines that require decoded status and location context.

List active exemptions with their decoded status and location context:

  • SELECT tax_exemption_id, customer_id, site_use_id, status_disp, exemption_type, tax_code, percent_exempt, start_date, end_date, location_context FROM ra_tax_exemptions_strc_v WHERE org_id = :p_org AND status_disp = 'Active' AND SYSDATE BETWEEN start_date AND NVL(end_date, SYSDATE + 1);

Retrieve location flexfield segments for a specific exemption:

  • SELECT tax_exemption_id, location_context, location_id_segment_1, location_id_segment_2, location_id_segment_3 FROM ra_tax_exemptions_strc_v WHERE tax_exemption_id = :p_id;

Report exemptions by reason code:

  • SELECT reason_code, reason_code_disp, COUNT(*) FROM ra_tax_exemptions_strc_v GROUP BY reason_code, reason_code_disp ORDER BY 3 DESC;

Because the object is a simple select view over the base table and lookups, it is not updatable through the view for the lookup-derived columns and should be used for read-only access. In 12.1.1 and 12.2.2, verify the view's presence before use, as its documentation is scoped to Release 115.