Search Results validate_tax_exemptions
Overview
The APPS.ZX_TCM_VALIDATE_EXEMPT_PKG package is a component of the Oracle E-Business Tax (EBTax) module, residing in the Tax Configuration Manager (TCM) layer of the ETRM schema. Its principal business function is to evaluate whether a given tax exemption claim—identified by an exemption number and a reason code—qualifies as valid for a specific transaction context. This package provides the centralized server-side logic that determines whether a customer, party site, or transaction is entitled to a tax exemption before tax is calculated and recorded.
In Oracle EBS 12.1.1 and 12.2.2, tax exemption handling is critical because exempt transactions bypass standard tax determination rules. The validation performed by this package ensures that exemption certificates and reason codes are applied only where the supporting organization, party, site, legal entity, transaction type, and transaction date combination legitimately supports the exemption. The header comment dates the package source to 2005, reflecting its role as a long-standing configuration utility within the EBTax family.
Key Procedures and Functions
The package exposes a single documented public procedure:
- VALIDATE_TAX_EXEMPTIONS — The core routine that accepts the exemption identity and transaction context inputs (exemption number, exemption reason code, ship-to and invoice-to organizations, bill-to and ship-to party sites, operating unit, bill-to party, legal entity, transaction type, batch source, transaction date, and an exemption status default of 'P'). It returns a validity flag, a return status, and a standard message count/message data pair that conforms to the Oracle API error-handling convention. The procedure evaluates the supplied combination and signals whether the exemption is valid for use in the given transaction scenario.
Because the documented API surface comprises only this procedure, no additional public functions or helper interfaces are guaranteed by the ETRM metadata; internal private routines may exist but are not part of the supported contract.
Tables Accessed
According to the documented metadata, the package references the FND_LOG_MESSAGES table (via an APPS synonym). This is the Oracle Application Object Library diagnostic logging table. The package writes to or reads from it to record debug and error information generated during validation, consistent with the FND logging framework used throughout EBS. No other base tax tables are listed in the documented metadata; the exemption and party data used by the procedure is presumed to be resolved through additional internal queries not enumerated in the ETRM extract.
Usage Notes
The procedure is typically invoked wherever exemption eligibility must be confirmed before tax calculation. Common invocation points include the EBTax tax determination engine, exemption setup and maintenance forms, and custom PL/SQL code that pre-validates exemption data prior to calling the tax calculation APIs. The metadata indicates the package is referenced by three other packages, confirming its role as a shared utility rather than a standalone entry point.
Callers should always inspect x_return_status and, when it indicates failure, iterate the message stack using the standard FND_MSG_PUB routines to retrieve the individual messages represented by x_msg_count and x_msg_data. Because the procedure returns a distinct validity flag, the return status and the valid flag must be evaluated separately. The package is owned by APPS and should be invoked with the appropriate MO or operating unit context set through p_org_id and p_legal_entity_id to ensure the exemption is validated against the correct tax regime.
-
PACKAGE: APPS.ZX_TCM_VALIDATE_EXEMPT_PKG
12.1.1
-
PACKAGE: APPS.ZX_TCM_VALIDATE_EXEMPT_PKG
12.2.2
-
PACKAGE BODY: APPS.ZX_TCM_VALIDATE_EXEMPT_PKG
12.2.2
-
PACKAGE BODY: APPS.ZX_TCM_VALIDATE_EXEMPT_PKG
12.1.1
-
APPS.ZX_TCM_VALIDATE_EXEMPT_PKG dependencies on FND_LOG_MESSAGES
12.2.2
-
APPS.ZX_TCM_VALIDATE_EXEMPT_PKG dependencies on FND_LOG
12.2.2
-
APPS.ZX_TCM_VALIDATE_EXEMPT_PKG dependencies on FND_LOG
12.1.1
-
APPS.ZX_TCM_VALIDATE_EXEMPT_PKG dependencies on FND_LOG_MESSAGES
12.1.1