Search Results zx_rules_tl_pk




Overview

The ZX_RULES_TL table is a core component of the E-Business Tax (ZX) module within Oracle E-Business Suite (EBS) releases 12.1.1 and 12.2.2. It functions as a translation table, providing multilingual support (MLS) for tax rule definitions. Its primary role is to enable the storage and retrieval of user-defined tax rule descriptions and names in multiple languages, ensuring that tax-related documentation, reports, and user interfaces can be presented in the language preferences of different users or legal jurisdictions. This table is intrinsically linked to its base table, ZX_RULES_B, which holds the core, language-independent attributes of each tax rule.

Key Information Stored

The table stores translated text attributes for tax rules. Its structure is typical of Oracle's MLS architecture, combining a key identifier with a language code. The most critical columns include:

  • TAX_RULE_ID: The foreign key that uniquely links each row to a specific tax rule defined in the ZX_RULES_B table. This column is part of the table's primary key.
  • LANGUAGE: The language code (e.g., 'US' for American English, 'KO' for Korean) for the translated text. This completes the primary key, ensuring only one translation per rule per language exists.
  • SOURCE_LANG: A column typically present in MLS tables that indicates the original language in which the data was entered.
  • Translated Text Columns: While the exact column names are not specified in the provided metadata, standard practice for such TL tables includes columns like RULE_NAME and DESCRIPTION to hold the translated, user-facing names and descriptions of the tax rule.

Common Use Cases and Queries

This table is primarily accessed by the E-Business Tax engine and reporting tools to display rule information in a user's session language. A common reporting use case is to generate a list of all tax rules with their descriptions in a specific language for audit or configuration review. Developers may query it to verify translations during implementation or support. A typical join query to retrieve translated rule information would be:

SELECT b.TAX_RULE_ID, tl.RULE_NAME, tl.DESCRIPTION, tl.LANGUAGE
FROM ZX_RULES_B b, ZX_RULES_TL tl
WHERE b.TAX_RULE_ID = tl.TAX_RULE_ID
AND tl.LANGUAGE = USERENV('LANG');

Another common pattern is to check for missing translations for a critical set of rules, which can be achieved by joining to the FND_LANGUAGES table and using an outer join to identify gaps.

Related Objects

The ZX_RULES_TL table has a direct, dependent relationship with several key E-Business Tax objects:

  • ZX_RULES_B: This is the primary base table. The foreign key constraint (ZX_RULES_TL.TAX_RULE_ID references ZX_RULES_B) enforces referential integrity, meaning a translation cannot exist without a corresponding base rule.
  • ZX_RULES: This is likely a public synonym pointing to the ZX_RULES_B table, and queries against it often join to ZX_RULES_TL for complete data.
  • Primary Key: The ZX_RULES_TL_PK constraint on (TAX_RULE_ID, LANGUAGE) ensures uniqueness of translations.
  • E-Business Tax APIs and Views: Higher-level application programming interfaces (APIs) and views within the ZX module will internally query ZX_RULES_TL to return language-specific data to calling programs, forms, and reports.
  • Table: ZX_RULES_TL 12.1.1

    owner:ZX,  object_type:TABLE,  fnd_design_data:ZX.ZX_RULES_TL,  object_name:ZX_RULES_TL,  status:VALID,  product: ZX - E-Business Taxdescription: This table provides multilingual support (MLS) for each tax rule. MLS enables you to store and print data that you define in multiple languages. ,  implementation_dba_data: ZX.ZX_RULES_TL

  • Table: ZX_RULES_TL 12.2.2

    owner:ZX,  object_type:TABLE,  fnd_design_data:ZX.ZX_RULES_TL,  object_name:ZX_RULES_TL,  status:VALID,  product: ZX - E-Business Taxdescription: This table provides multilingual support (MLS) for each tax rule. MLS enables you to store and print data that you define in multiple languages. ,  implementation_dba_data: ZX.ZX_RULES_TL