Results for “zx_webexp_classifications_v”

23 results




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

Overview

The view ZX_WEBEXP_CLASSIFICATIONS_V is an APPS-owned database view that exposes the set of tax classifications available to the Oracle E-Business Tax web expense (WebExp) user interface and to related reporting and integration routines. Its name reflects its purpose: it drives the list of tax classification codes that can be selected on expense-related transactions. The view belongs to the Application Object Library (FND) product grouping, but its content is drawn primarily from the E-Business Tax (ZX) schema, specifically the mapping table that links tax classifications to tax regimes, taxes, and rates.

In Oracle EBS 12.1.1 and 12.2.2, this view is not a base data store; it is a read-only consolidation that joins descriptive lookup values with tax configuration data. It therefore plays a reporting and integration role, presenting human-readable meanings and descriptions alongside the codes required by downstream processing. The view resolves the tax classification lookup (ZX_WEB_EXP_TAX_CLASSIFICATIONS) to the ZX tax configuration through ZX_ID_TCC_MAPPING_ALL, and where available, enriches the result with tax rate details.

Underlying Base Objects

The documented metadata identifies three referenced base objects, all resolved through APPS synonyms:

  • FND_LOOKUP_VALUES — supplies the lookup code, lookup type, meaning, description, enabled flag, and effective dates. The view restricts lookups to LOOKUP_TYPE = 'ZX_WEB_EXP_TAX_CLASSIFICATIONS', with VIEW_APPLICATION_ID = 0, SECURITY_GROUP_ID = 0, and language filtered by USERENV('LANG').
  • ZX_ID_TCC_MAPPING_ALL — the tax classification configuration mapping table. It contributes organization, tax type, tax class, active flag, and effective dates. This table is the reason the user's search term matches: the mapping is the central fact table behind the view.
  • ZX_RATES_VL — a tax rates view that supplies rate names and descriptions, joined on rate code identifiers (TAX_RATE_CODE_ID against SOURCE_ID or TAX_RATE_ID).

Key Columns

  • ORG_ID — the operating unit (legal entity) context for the classification mapping, taken from ZX_ID_TCC_MAPPING_ALL.
  • MEANING — the display label, derived with COALESCE from the tax rate name, then the lookup meaning, then the lookup code.
  • DESCRIPTION — a longer descriptive text resolved through the same COALESCE chain across rate and lookup attributes.
  • LOOKUP_CODE / LOOKUP_TYPE — the underlying lookup identifiers, useful for joins and debugging.
  • LEAF_NODE, ENABLED_FLAG — lookup hierarchy and enablement indicators.
  • START_DATE_ACTIVE / END_DATE_ACTIVE — effective period, computed as the tighter of the mapping and lookup date ranges via NVL and LEAST.
  • TAX_TYPE, TAX_CLASS — the tax regime type and class. Both UNION ALL branches filter to INPUT class and exclude TAX_GROUP type.

Common Use Cases and Queries

This view is typically queried to populate LOVs, validate classification codes during expense entry, and reconcile configuration. Because it filters to active input-class classifications, results are appropriate for transaction entry rather than tax reporting on output taxes.

List all classifications for a given operating unit and tax type:

  • SELECT meaning, description, tax_type, tax_class, start_date_active, end_date_active FROM apps.zx_webexp_classifications_v WHERE org_id = :p_org_id AND tax_type = :p_tax_type ORDER BY meaning;

Find currently effective classifications only:

  • SELECT lookup_code, meaning, end_date_active FROM apps.zx_webexp_classifications_v WHERE TRUNC(SYSDATE) BETWEEN start_date_active AND NVL(end_date_active, SYSDATE + 1) AND enabled_flag = 'Y';

Investigate a rate configuration issue by tracing a code back to its origin:

  • SELECT v.lookup_code, v.meaning, m.tax_rate_code_id, m.active_flag FROM apps.zx_webexp_classifications_v v, apps.zx_id_tcc_mapping_all m WHERE v.lookup_code = m.tax_classification_code AND m.tax_classification_code = :p_code;

Because the view already joins the mapping, lookup, and rate objects, these queries avoid re-implementing the USERENV('LANG') and security-group predicates and return display-ready values.