Not Able To Cancel The Invoice Due to Error 'ORA-20007: Error - trigger ja_in_ap_aida_before_trg on ap_invoice_distributions_all : jai_ap_tds_prepayemnts_pkg.process_tds_invoices :ORA-01400: cannot insert NULL into ("JA"."JAI_AP_TDS_REPOSITORY"."INVOICE_I

(Doc ID 2175887.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On : 12.2.4 version, India AP Localizations

When attempting to cancel the invoice ,
the following error has been observed in fnd log file

ERROR
-----------------------
JAI.PLSQL.JAI_AP_TDS_POP_RPST_PKG.insert_jai_tds_repository(). Other_Exception
JAI.PLSQL.JAI_AP_TDS_POP_RPST_PKG.populate_repository(). Other_Exception
JAI.PLSQL.JAI_TAX_PROCESSING_PKG.DETERMINE_RECOVERY
ZX.PLSQL.ZX_API_PUB.DETERMINE_RECOVERY


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 : jai_ap_tds_prepayemnts_pkg.process_tds_invoices :ORA-01400: cannot insert NULL into ("JA"."JAI_AP_TDS_REPOSITORY"."INVOICE_ID")


STEPS
-----------------------
1)Navigate to India Local Payable
2)Query the invoice using the invoice workbench
3)Try to cancel the invoice

BUSINESS IMPACT
-----------------------
Invoice is pending for cancellation

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