My Oracle Support Banner

While Validating Invoice, Getting Error "Effective Total Invoice Amount For Threshold Cannot Be Negative. (Total Invoice - Cancel - Apply + Unapply)" (Doc ID 1991532.1)

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 (&parameters) 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.


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

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