My Oracle Support Banner

Receipts Workbench: System Not Allowing To Add Cash To Existing Batch - ORA-06502 PL/SQL Numeric or Value Error Character String Buffer Too Small (Doc ID 1565652.1)

Last updated on NOVEMBER 14, 2017

Applies to:

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


System not allowing to add cash to existing batch

Attempting to add a receipt to a batch and receive the following error:

ORA-06502 PL /SQL numeric or value error character string buffer too small

Debug shows that the problem is in the following piece of code of package procedure

The query fails with ORA-06502 error because the batch number is longer than allowed length of variable l_name, which is 10. The query returns "31210005997," which is 11 characters.


To view full details, 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 a vibrant support community of peers and Oracle experts.