Invoice Cancellation Fails With APP-SQLAP-10000 ORA-01400 Errors In AP_INVOICE_LINES_ALL (Doc ID 1308024.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Oracle Payables - Version 12.1.1 and later
Information in this document applies to any platform.

Symptoms


On : 12.1.2 version, Invoice Issues & MassAdd

When attempting to validate a invoice, the following error occurs.

ERROR
-----------------------
APP-SQLAP-10000: ORA-01400: cannot insert NULL into ("AP"."AP_INVOICE_LINES_ALL"."AMOUNT") occurred in
AP_ETAX_UTILITY_PKG.Return_Tax_Lines<-AP_ETAX_SERVICES_PKG.Update_AP<-AP_ETAX_SERVICES_PKG.Calculate<-AP_ETAX_PKG.Calling_eTax<-AP_ETAX_SERVICES_PKG.Global_Document_Update<-AP_ETAX_PKG.Calling_eTax<-AP_CANCEL_PKG.AP_CANCEL_SINGLE_INVOICE<-APXINWKB
with parameters ( P_Invoice_Id = 21819 P_Error_Code = P_Calling_Sequence = AP_ETAX_SERVICES_PKG.Update_AP<-AP_ETAX_SERVICES_PKG.Calculate<-AP_ETAX_PKG.Calling_eTax<-AP_ETAX_SERVICES_PKG.Global_Document_Update<-AP_ETAX_PKG.Calling_eTax<-AP_CANCEL_PKG.AP_CANCEL_SINGLE_INVOICE<-APXINWKB)
while performing the following operation:
Insert exclusive tax lines


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Validate a invoice

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