RMS Warehouse to Store Externally Generated Transfer Produces PL/SQL Error (Doc ID 1536446.1)

Last updated on AUGUST 14, 2017

Applies to:

Oracle Retail Merchandising System - Version 13.1.6 and later
Information in this document applies to any platform.

Symptoms

In Oracle Retail Merchandising System (RMS) 13.1, when attempting to create an Externally Generated (EG) Transfer (TSF) from a Warehouse (WH) to a store, the following error occurs:

Error ORA-06502: PL/SQL: numeric or value error returned by program unit BOL_SQL.DIST_FROM_LOC.

 

Steps to Reproduce:

1. Try to create a WH to Store transfer (using ASN) by invoking RMSSUB_ASNOUT package.
2. Note that this works properly when Virtual Warehouse (Virtual Warehouse having same channel ID as store) has stock on hand > 0.
3. However, a PL/SQL error occurs when Virtual Warehouse (Virtual Warehouse having same channel ID as store) has stock on hand = 0.  RMSSUB_ASNOUT.CONSUME package gives following error:
    Error ORA-06502: PL/SQL: numeric or value error returned by program unit BOL_SQL.DIST_FROM_LOC.

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