Results for “tax_exempt_flag”

50+ results




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

Overview

OE_AK_TAX_EXEMPT_V is a lightweight read-only view owned by the APPS schema within the Oracle Order Management (ONT) product family. It exposes the set of valid values for the order line and order header tax exemption attribute — specifically the FND_LOOKUPS entries belonging to the YES_NO lookup type. Because the view is defined by a single, unbounded SELECT against FND_LOOKUPS, it acts as a controlled, reusable source of the yes/no indicator used throughout the order capture and order import flows wherever a tax exempt flag must be validated, displayed, or defaulted.

Unlike most Order Management views, OE_AK_TAX_EXEMPT_V does not store order data or perform any join across transactional tables. It is a reference-data view, and its principal role is to provide a normalized, self-contained list of accepted tax exemption values that can be consumed by reporting tools, integrations, Oracle Application Framework (OAF) components, and custom validation logic without directly querying FND_LOOKUPS.

The view was commonly located by users searching for the "yes_no" indicator, which reflects its primary content: the two lookup codes that constitute the standard yes/no vocabulary used across Oracle EBS.

Underlying Base Objects

The documented definition of the view is a single statement:

  • FND_LOOKUPS — the base view over the FND lookup code table (FND_LOOKUP_TYPES / FND_LOOKUP_VALUES). The view filters this source on LOOKUP_TYPE = 'YES_NO', discarding every other lookup type maintained in the application.
  • FND_GLOBAL — listed as a referenced package. FND_GLOBAL is the standard EBS context package (user, responsibility, application, org) that participates in the underlying FND_LOOKUPS definition and in row-level security applied to lookups.

Because the definition carries no ORDER BY clause or WHERE predicate on enabled/start-date columns beyond the lookup type, the view itself is a thin projection. Disabling a lookup value or setting its start/end dates affects what FND_LOOKUPS returns but is only enforced through the base view's own filtering logic; consumers that require strictly active values must apply their own date and enabled-flag conditions against FND_LOOKUP_VALUES directly.

Key Columns

  • TAX_EXEMPT_FLAG — the sole projected column. Despite the column name, it is populated from LOOKUP_CODE of the YES_NO lookup type, so its returned values correspond to the configured yes/no codes (typically Y and N, though the value set is data-driven and can be extended by administrators).

The column name signals intent: it is designed to represent the tax exemption indicator on the order header or line. Any consumer should therefore treat it as a lookup code reference, not as a Boolean, and should resolve it against the YES_NO lookup means for display.

Common Use Cases and Queries

The view is typically used to populate LOVs (list of values), validate imported order data, and drive reporting on tax exempt orders. A basic query returning every available value is:

  • SELECT TAX_EXEMPT_FLAG FROM APPS.OE_AK_TAX_EXEMPT_V;

A more practical pattern resolves the display meaning alongside the code by joining back to FND_LOOKUP_VALUES:

  • SELECT t.TAX_EXEMPT_FLAG, v.MEANING FROM APPS.OE_AK_TAX_EXEMPT_V t, APPS.FND_LOOKUP_VALUES v WHERE v.LOOKUP_TYPE = 'YES_NO' AND v.LANGUAGE = USERENV('LANG') AND v.LOOKUP_CODE = t.TAX_EXEMPT_FLAG;

Report query that classifies order lines by tax exempt status:

Validation check for order import that flags any line carrying an unrecognized exemption code:

  • SELECT l.LINE_ID, l.TAX_EXEMPT_FLAG FROM OE_ORDER_LINES_ALL l WHERE l.TAX_EXEMPT_FLAG IS NOT NULL AND NOT EXISTS (SELECT 1 FROM OE_AK_TAX_EXEMPT_V v WHERE v.TAX_EXEMPT_FLAG = l.TAX_EXEMPT_FLAG);

In all cases the view should be treated as a convenience reference over YES_NO lookups; where date-effective or enabled-only semantics are required, query FND_LOOKUP_VALUES with explicit START_DATE_ACTIVE, END_DATE_ACTIVE, and ENABLED_FLAG predicates.