ORA-06502: Number Or Value Error Thrown By Program Unit SA_REALM_SQL.GET_NEXT_ID
Last updated on MAY 03, 2018
Applies to:Oracle Retail Sales Audit - Version 16.0.1 and later
Information in this document applies to any platform.
When trying to make a modification to existing totals in ReSA, the following error occurs:
ORA-06502: PL/SQL: numeric or value error: number precision too large returned by program unit: SA_REALM_SQL.GET_NEXT_ID
Steps to Reproduce :
- Ensure the LAST_NUMBER in SA_REALM_ID_SEQUENCE is > 999999.
- Edit an existing total. Attempt to add a new Realm or only click save and close and note the issue.
- Note error.
Similar error will occur in SA_PARM_SQL package if the LAST_NUMBER in SA_PARM_ID_SEQUENCE is > 999999.
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