R12.2 Error "Error on ap_invoice_distributions_all : ORA-20007: Error - trigger ja_in_ap_aida_before_trg on ap_invoice_distributions_all : Error - Cannot Unapply prepayment as it was Applied before Validating the Standard invoice" While Unapply Prepayment (Doc ID 1922859.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Financials for India - Version 12.2.3 and later
Information in this document applies to any platform.

Symptoms

On :  12.2.3 version, India AP Localizations

When attempting to unapply prepayment,
the following error occurs.

ERROR
-----------------------
50464951 AP.PLSQL.AP_ETAX_UTILITY_PKG.Return_Error_Messages Get error message from eTax API
50464952 AP.PLSQL.AP_ETAX_UTILITY_PKG.Return_Error_Messages Get error message from stack
50464953 AP.PLSQL.AP_ETAX_UTILITY_PKG.Return_Error_Messages Encountered an error in JAI_AP_IDA_TRIGGER_DTC_PKG.BRIUD_DTC_T1  Error on ap_invoice_distributions_all : ORA-20007: Error - trigger ja_in_ap_aida_before_trg on ap_invoice_distributions_all : Error - Cannot Unapply prepayment as it was Applied before Validating the Standard invoice


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a prepayment and pay the same
2. Create standard invoice and validate
3. Apply prepayment and validate
4. Try unapplying the prepayment

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot unapply the prepayment

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms