Accounting Failed ORA-06502: PL/SQL: Numeric Or Value Error Occurred In AP_Acctg_Pay_Dist_Pkg

(Doc ID 1999656.1)

Last updated on MARCH 08, 2017

Applies to:

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


On : 12.1.3 version, Accounting Issues in AP

When attempting to run Create Accounting, accounting program ends in below error:

An internal error occurred. Please inform your system administrator or support representative that:

An internal error has occurred in the program xla_ap_acct_hooks_pkg.main. Technical problem : Error encountered in product API for extract
ORA-06502: PL/SQL: numeric or value error occurred in
AP_Acctg_Pay_Dist_Pkg.Update_Gain_Loss_Ind with parameters (&PARAMETERS)
while performing the following operation:

FND Debug log shows:

 Procedure Pay_Dist_Reverse executed
 Calling procedure Update_Gain_Loss_Ind for payments
 Begin of procedure Update_Gain_Loss_Ind

 "APP-SQLAP-10000: ORA-06502: PL/SQL: numeric or value error occurred in
 with parameters (&PARAMETERS)
 while performing the following operation:



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