Search Results zx_evnt_cls_options




Overview

The ZX_EVNT_CLS_OPTIONS table is a core configuration repository within the Oracle E-Business Tax (ZX) module for Oracle E-Business Suite releases 12.1.1 and 12.2.2. It functions as the central store for tax determination and processing options that a legal entity (first party organization) defines for specific business event classes. An event class represents a category of business transactions, such as "Sales Invoices" or "Purchase Orders." By storing options at this granular level, the table enables organizations to implement highly tailored tax rules and behaviors that align with their operational and compliance requirements for different transaction types. Its configuration directly influences the tax calculation engine's logic during transaction processing.

Key Information Stored

The table's structure is defined by a composite primary key that uniquely identifies a set of tax options. The key columns are APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, FIRST_PTY_ORG_ID, EFFECTIVE_FROM, and ENABLED_FLAG. This design allows for versioning of options over time (via EFFECTIVE_FROM) and conditional activation (via ENABLED_FLAG). A critical foreign key column is DET_FACTOR_TEMPL_CODE, which links to the ZX_DET_FACTOR_TEMPL_B table. This link specifies the default Determination Factor Template—a set of conditions and rules—to be used for tax determination for the given event class and organization. Other columns in the table (implied by its purpose) typically store flags and settings controlling aspects like tax applicability, rounding, and documentation requirements.

Common Use Cases and Queries

This table is primarily referenced for configuration analysis, audit reporting, and troubleshooting tax determination issues. A common scenario involves identifying the active tax determination rules for a specific business process. For example, to find the effective tax options for a legal entity (ID 123) processing Payables invoices, a consultant might use a query such as:

  • SELECT * FROM zx_evnt_cls_options WHERE first_pty_org_id = 123 AND event_class_code = 'PURCHASE_INVOICES' AND enabled_flag = 'Y' AND SYSDATE BETWEEN effective_from AND NVL(effective_to, SYSDATE);

Another critical use case is tracing the determination logic by joining to the factor template: SELECT opt.*, tmpl.template_name FROM zx_evnt_cls_opt ions opt, zx_det_factor_templ_b tmpl WHERE opt.det_factor_templ_code = tmpl.template_code(+). This helps diagnose why certain taxes are or are not being applied to transactions.

Related Objects

The ZX_EVNT_CLS_OPTIONS table sits at the center of a key configuration relationship within the E-Business Tax schema. As documented, it maintains a direct foreign key relationship to the ZX_DET_FACTOR_TEMPL_B table. The join is made on the column ZX_EVNT_CLS_OPTIONS.DET_FACTOR_TEMPL_CODE, which references a corresponding code in the template table. This relationship is fundamental, as it binds a set of event-class-specific tax options to the actual rule template used for tax determination. The table is also a likely parent to other transactional or detailed configuration tables within the ZX schema, given its primary key structure, though the provided metadata explicitly confirms only the single foreign key relationship to ZX_DET_FACTOR_TEMPL_B.