While Validating Invoice, Getting Error "Effective Total Invoice Amount For Threshold Cannot Be Negative. (Total Invoice - Cancel - Apply + Unapply)"
Last updated on DECEMBER 11, 2016
Applies to:Oracle Financials for India - Version 12.1.3 and later
Information in this document applies to any platform.
On : 12.1.3 version, India AP Localizations
User has created a prepayment invoice in last financial year. Then user has applied that prepayment to one standard invoice of the current financial year.
Then while trying to validate the Invoice, the following error is appearing:-
APP-SQLAP-10000 : user defined exception occured in error from trigger JAI_AP_IDA_BRIUD_T1 with parameters (¶meters) while performing the following operation :
Encountered an error in JAI_AP_IDA_TRIGGER_PKG.BRIUD_T1.
Error on ap_invoice_distributions_all : ORA-20007 : Error -trigger ja_in_ap_aida_before_trg on ap_invoice_distributions_all : Effective Total Invoice amount for threshold cannot be negative.
(Total Invoice - Cancel- apply + unapply)
The issue can be reproduced at will with the following steps:
1. Create a prepayment invoice in previous financial year, add TDS tax. Validate, approve and pay the prepayment.
2. Create a standard invoice in current financial year, add same TDS tax.
3. Apply the invoice to prepayment.
4. Validate the invoice.
The issue has the following business impact:
Due to this issue, users cannot pay the supplier.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms