Intermittent Issue - ORA-06502: PL/SQL: numeric or value error: character to number
Hi Team,
Users are facing intermittent issue, where multiple programs having "TO NUMBER" conversion used are going into below error:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error.
Background:
Out of multiple programs, there is custom program " XXAR0319: Cash App Receipt Interface New" which loads data from a data file into a staging table and performs various business validations and once done call Oracle Standard API :Ar_Receipt_Api_Pub.create_cash to create required AR Receipts in Oracle EBS.
This program runs almost 50 times a day and each day 2-3 runs of the program goes into error for the above error. However, if the same error file is re-processed, it gets processed successfully the issue does not replicate.