Short Pick When Location Has Zero Quantity Gives Error "new row for relation 'inventory' violates check constraint 'no_negative_curr_qty' "

(Doc ID 2400433.1)

Last updated on MAY 18, 2018

Applies to:

Oracle Warehouse Management Enterprise Edition Cloud Service - Version 8.0.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to do short pick the following error occurs.

ERROR
Short pick exception: <class 'django.db.utils.IntegrityError'>: new row for relation "inventory" violates check constraint "no_negative_curr_qty"
DETAIL: Failing row contains (48096, 1, 2957, 18172, null, 2018-02-10, -2.00000, 0, 2018-02-10 10:14:15.33237-06, 2018-03-05 14:02:25.29844-06, lgf_blrsupport, , , , 84.00000, 99, null, null, 1776, 0, jgorin, 0).

STEPS
The issue can be reproduced at will with the following steps:
1. Go to execute task number <task number>
2. Do short pick for item <item>
3. See error.

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