My Oracle Support Banner

Unexpected Error APP-SQLAP-97731 When Validating Invoice Linked to Purchase Order with 0 Quantity Distribution (Doc ID 2289422.1)

Last updated on JUNE 25, 2024

Applies to:

Oracle Purchasing - Version 12.2.4 to 12.2.6 [Release 12.2]
Oracle Payables - Version 12.2.6 to 12.2.6 [Release 12.2]
Oracle iProcurement - Version 12.2.4 to 12.2.6 [Release 12.2]
Information in this document applies to any platform.

Symptoms

Problem Statement
When try to validate the invoices,the following error occurs :

Error
Unexpected error occurred during Tax Calculation.
Exception: An unexpected error has occurred. Please contact your system administrator. Please correct the problem or contact your System Administrator.

In addition, it is possible to get the error

APP-SQLAP-97731 The System Cannot Generate Distributions Because Tax Calculation Failed

EBTax Debug Log shows the following error:-

ZX_TRD_INTERNAL_SERVICES_PVT.calc_variance_factors(+)
No Retainage - Normal Flow
-1476: ORA-01476: divisor is equal to zero
ZX_TRD_INTERNAL_SERVICES_PVT.calc_variance_factors(-)
After calling calc_variance_factors  return_status = U
ZX_API_PUB.DETERMINE_RECOVERY(-)

Steps:

1. Create a requisition with 3 lines in iProcurement
    Shop > Add to Cart > View Cart and Checkout > Submit and Edit and Checkout
2. Apply the charge account at the first line and select the check box "Apply this Cost Allocation information to all applicable requisition lines"
3. Apply button
4. Upon seeing see the other lines the charge account will be copied which is correct.
5. But if repeating the steps to apply the charge account from 2nd line
onward then the charge account is not getting copied to the other lines.  e.g. updating the charge account on the 2nd line
6. Upon opening the first and third lines then the charge
account is not getting copied to them.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.