Search Results zx_reporting_codes_b_u2




Overview

The ZX.ZX_REPORTING_CODES_B table is a core configuration and reference object within the Oracle E-Business Tax (E-Business Tax / ETRM) module of Oracle EBS 12.1.1 and 12.2.2. It stores the reporting codes that a tax jurisdiction or tax regime assigns to transactions for statutory tax reporting purposes. Each row binds a specific reporting type (for example, a country-specific tax box, a VAT return line, or a reporting category) to a concrete reporting value and an effective date range, enabling the tax engine to derive correct reporting classifications on invoices, credit memos, and other taxable documents.

From a Data Vault modeling perspective, the metadata classifies this object heuristically as standalone, meaning no enforced foreign key relationships were mined. In practice, however, the table behaves much like a satellite attached to a reporting-type parent, keyed by the business key (reporting type, effective date, and the reporting code value tuple). This classification should be treated as a modeling suggestion rather than a hard rule.

Key Information Stored

The table is defined in tablespace APPS_TS_TX_DATA with 20 columns. The most operationally significant columns are:

Two unique indexes are documented: ZX_REPORTING_CODES_B_U1 on REPORTING_CODE_ID and ZD_EDITION_NAME, and ZX_REPORTING_CODES_B_U2 — the primary business-key candidate — on REPORTING_TYPE_ID, EFFECTIVE_FROM, the three reporting code value columns, and ZD_EDITION_NAME.

Common Use Cases and Queries

Typical uses include validating which reporting code applies to a transaction on a given date, auditing seeded versus user-defined codes, and building statutory reporting extracts. A common pattern resolves effective-dated codes:

  • Query active codes for a reporting type as of a date: SELECT * FROM zx_reporting_codes_b WHERE reporting_type_id = :id AND :dt BETWEEN effective_from AND NVL(effective_to, :dt) AND (zd_edition_name IS NULL OR zd_edition_name = 'SET1');
  • List user-defined codes only: WHERE record_type_code = 'USER_DEFINED'.
  • Join to reporting-type definitions via REPORTING_TYPE_ID for descriptions.

Related Objects

Although the mined classification is standalone, the table logically participates in the following relationships:

These objects collectively support statutory tax reporting, returning, and audit within E-Business Tax.