Results for “allow_exemptions_flag”

50+ results




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

Overview

ZX_STATUS_B is the base table of the Oracle E-Business Tax (E-Business Tax / ZX) module that stores the definition of tax statuses for multiple configuration owners. Each row represents one tax status belonging to a specific tax and configuration owner, and it is the authoritative source from which transactional tax determination, reporting, and reconciliation logic draw status values. Because it is a base (_B) table, translated and descriptive attributes are held in the companion table ZX_STATUS_TL, while ZX_STATUS_B itself carries the operational and control columns that drive tax engine behavior.

The table serves as a foundational reference within the tax configuration model. Regime, tax, and status hierarchies are governed through it, and downstream transaction lines, distributions, and reporting extracts reference its primary key value. Its ETRM classification as hub-leaning is a modeling suggestion only: from a Data Vault perspective, the surrogate key and the surrounding foreign-key structure imply that ZX_STATUS_B behaves more like a hub, with descriptive and translatable attributes naturally belonging to satellite tables such as ZX_STATUS_TL.

Key Information Stored

The most significant columns fall into identification, business-key, and behavioral-control groups.

Common Use Cases and Queries

Typical usage includes validating a status chosen on a transaction, listing active statuses by regime and tax, and resolving the default status for a configuration owner. Because transactional tables store TAX_STATUS_ID, joins to ZX_STATUS_B are the standard route to reach status codes and regime context.

  • Retrieve all statuses for a regime and tax:
    SELECT s.tax_status_id, s.tax_status_code, s.tax, s.tax_regime_code
    FROM zx_status_b s
    WHERE s.tax_regime_code = :regime AND s.tax = :tax
    AND TRUNC(SYSDATE) BETWEEN s.effective_from AND NVL(s.effective_to, TRUNC(SYSDATE));
  • Resolve status descriptions for transaction lines using the translation table:
    SELECT l.tax_status_id, t.tax_status_name
    FROM zx_lines l
    JOIN zx_status_b b ON b.tax_status_id = l.tax_status_id
    JOIN zx_status_tl t ON t.tax_status_id = b.tax_status_id
    WHERE t.language = USERENV('LANG');
  • Identify the default status per configuration owner:
    SELECT content_owner_id, tax_regime_code, tax, tax_status_code
    FROM zx_status_b
    WHERE default_status_flag = 'Y';

Related Objects

ZX_STATUS_B participates in a broad web of foreign-key relationships across tax configuration and transaction processing.