My Oracle Support Banner

Importing Using Autoinvoice Concurrent Program Gets Error: Error calling raapic() and ORA-20001 (Doc ID 1532106.1)

Last updated on JUNE 15, 2021

Applies to:

Oracle Financials for the Americas - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version,

Attempting to execute the AutoInvoice Process and receive the following error:

ERROR
-----------------------
Error calling raapic()

OR

raaebt()+ Current system time is 21-FEB-2013 08:32:08
ERROR: from eBusiness Tax - return code = 2 Current system time is 21-FEB-2013 08:32:09
Please review the plsql debug log for additional details. Current system time is 21-FEB-2013 08:32:09
Error calling raaebt()
Error calling raapic()


DEBUG LOG SHOWS:
----------------
ZX.PLSQL.JL_ZZ_TAX calculate_latin_tax: EXCEPTION(NO_DATA_FOUND): jl_zz_tax.calculate_latin_tax
ZX.PLSQL.JL_ZZ_TAX EXCEPTION(ERROR_FROM_FUNCTION): jl_zz_tax.calculate
ZX.PLSQL.ZX_API_PUB.ADD_MSG.BEGIN ZX_API_PUB: ADD_MSG()+
ZX.PLSQL.ZX_API_PUB.ADD_MSG.END ZX_API_PUB: ADD_MSG()-
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG JL_ZZ_TAX.calculate()- : tax_vendor_return_code 9
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG.arp_tax_calculate -20001: ORA-20001:
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG ****************************************
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG * EXCEPTION: arp_tax_calculate() *
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG ----------------------------------------
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG * Dumping Tax Info Record *
ZX.PLSQL.ZX_PRODUCT_INTEGRATION_PKG ****************************************

OR

ZX_PRODUCT_INTEGRATION_PKG.dump_tax_info_rec(-)
EXCEPTION(process_tax_rec_f_sql in loop)
SQLCODE -20001Error Message ORA-20001:
-- Raise error
-20001: ORA-20001:
-20001: ORA-20001:
ZX_API_PUB: ADD_MSG()+
ZX_API_PUB: ADD_MSG()-
ZX_PRODUCT_INTEGRATION_PKG.calculate_tax_lte(-)
Incorrect return_status after calling ZX_PRODUCT_INTEGRATION_PKG.calculate_tax_lte().
ZX_PRODUCT_INTEGRATION_PKG: import_document_with_tax(-)
LTE calculate tax returned errors. Return_Status = U
Incorrect status returned by Call_lte. Return_StatusU
User-Defined Exception
ZX_API_PUB: IMPORT_DOCUMENT_WITH_TAX:ZX_SRVC_TYP_PKG.import returned errors

 

NOTE:  The interface error table does not show any record with errors

Steps to Reproduce:
Responsibility:  Receivables with Latin Tax Engine enable for Brazil
Navigation:  Interfaces > Autoinvoice
1. Run autoinvoice master program with parameters:
  Number of instances = 1
  Organization: All
  Invoice Source = PROJECTS INVOICES
  Default Date = 06-MAY-2014 (sysdate)
  Base Due Date on Trx Date = Yes
2. Wait until this program finish and Review the log generated and observed the error described before

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
 Option 1:
 Option 2:


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