ORA-06502: Number Or Value Error Thrown By Program Unit SA_REALM_SQL.GET_NEXT_ID

(Doc ID 2393438.1)

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.

Symptoms

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 :

  1. Ensure the LAST_NUMBER in SA_REALM_ID_SEQUENCE is > 999999.
  2. Edit an existing total. Attempt to add a new Realm or only click save and close and note the issue.
  3. Note error.

Similar error will occur in SA_PARM_SQL package if the LAST_NUMBER in SA_PARM_ID_SEQUENCE is > 999999.

Changes

 

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