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 JULY 02, 2013

Applies to:

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

Symptoms

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.

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