Search Results tax_exception_id
Overview
The ZX_EXCEPTIONS table is a core repository within the Oracle E-Business Tax (ZX) module for Oracle E-Business Suite releases 12.1.1 and 12.2.2. It is designed to store and manage tax rate exceptions, a critical component for handling complex tax calculations that deviate from standard rates. The table's primary role is to define specific percentages of the original tax rate that should be applied as an exception for a particular item or product fiscal classification within a given inventory organization. This functionality is essential for supporting scenarios such as reduced tax rates, exemptions, or special tax treatments mandated by specific jurisdictions for certain products or services.
Key Information Stored
Each row in ZX_EXCEPTIONS defines a unique tax rate exception. The primary identifier is the TAX_EXCEPTION_ID, which is the table's primary key. Key columns that define the scope and nature of the exception include PRODUCT_ID, which links to the item in MTL_SYSTEM_ITEMS_B, and INVENTORY_ORG_ID, which links to the organization in HR_ALL_ORGANIZATION_UNITS, thereby establishing the exception for a specific item in a specific inventory organization. The DET_FACTOR_TEMPL_CODE links to ZX_DET_FACTOR_TEMPL_B, associating the exception with a specific tax determination factor template. Crucially, the table stores the percentage of the original tax rate to be applied, enabling precise control over the exception's financial impact during transaction tax calculation.
Common Use Cases and Queries
A primary use case is configuring a reduced tax rate for specific items, such as children's clothing or medical supplies, within a particular legal jurisdiction. Administrators set up these exceptions via the E-Business Tax user interface, which writes records to this table. For reporting and troubleshooting, common SQL queries involve joining to related master tables. For instance, to list all active tax exceptions for items in a specific organization, one might query:
- SELECT ze.tax_exception_id, msi.segment1 item_code, hou.name org_name, ze.exception_rate
- FROM zx.zx_exceptions ze,
- inv.mtl_system_items_b msi,
- hr.hr_all_organization_units hou
- WHERE ze.product_id = msi.inventory_item_id
- AND ze.inventory_org_id = msi.organization_id
- AND ze.inventory_org_id = hou.organization_id
- AND hou.organization_id = :p_org_id;
This data is directly referenced during the tax calculation engine's runtime to adjust the final tax amount on transaction lines.
Related Objects
The ZX_EXCEPTIONS table is central to the E-Business Tax data model, with defined relationships to several key tables. As per the provided metadata, its primary foreign key relationships are:
- MTL_SYSTEM_ITEMS_B: Joined via ZX_EXCEPTIONS.PRODUCT_ID to define the item for the exception.
- HR_ALL_ORGANIZATION_UNITS: Joined via ZX_EXCEPTIONS.INVENTORY_ORG_ID to define the applicable inventory organization.
- ZX_DET_FACTOR_TEMPL_B: Joined via ZX_EXCEPTIONS.DET_FACTOR_TEMPL_CODE to link the exception to a detailed tax determination factor template.
- ZX_LINES: References ZX_EXCEPTIONS via ZX_LINES.TAX_EXCEPTION_ID, applying the exception rule to detailed transaction tax lines.
- ZX_LINES_SUMMARY: References ZX_EXCEPTIONS via ZX_LINES_SUMMARY.TAX_EXCEPTION_ID, applying the exception rule to summarized tax lines.
The TAX_EXCEPTION_ID serves as the primary key for ZX_EXCEPTIONS and is the referenced column in the child tables ZX_LINES and ZX_LINES_SUMMARY.
-
Table: ZX_EXCEPTIONS
12.2.2
owner:ZX, object_type:TABLE, fnd_design_data:ZX.ZX_EXCEPTIONS, object_name:ZX_EXCEPTIONS, status:VALID, product: ZX - E-Business Tax , description: This table stores tax rate exceptions for items and product fiscal classifications.Each row specifies the percentage of original tax rate to be treated as an exception for an item or a product fiscal classification during tax calculation. , implementation_dba_data: ZX.ZX_EXCEPTIONS ,
-
Table: ZX_EXCEPTIONS
12.1.1
owner:ZX, object_type:TABLE, fnd_design_data:ZX.ZX_EXCEPTIONS, object_name:ZX_EXCEPTIONS, status:VALID, product: ZX - E-Business Tax , description: This table stores tax rate exceptions for items and product fiscal classifications.Each row specifies the percentage of original tax rate to be treated as an exception for an item or a product fiscal classification during tax calculation. , implementation_dba_data: ZX.ZX_EXCEPTIONS ,