Pick Release Error in Oracle

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Pick Release Error: Error in Routine WSH_USA_INV_PVT.

Update_inventory_info, Oracle
Error 100

SYMPTOMS

You are trying to use ship sets on your sales orders but when picking, the pick release ends in
error because of the ship sets being used.

The error in the pick release log file is as follows:


Error in Routine WSH_USA_INV_PVT.Update_Inventory_Info, Oracle Error - 100

If you remove the flag for enforcing ship sets (in the Shipping parameters form),
pick release works fine, but of course ignores the ship sets.

STEPS
Create order containing multiple ship sets, where one of the ship sets should not ship due to
insufficient quantities available. Pick release specific order using concurrent process. Error
appears.

CAUSE

Per the Bug 4748481, the error:


Error in Routine WSH_USA_INV_PVT.Update_Inventory_Info, Oracle Error - 100
is caused when a record with a ship set id that exists in oe_order_lines_all and
wsh_delivery_details has no corresponsing record in the oe_sets table.

SOLUTION

To implement the solution, please execute the following steps:

1) Please run the following query to find all records that will cause this issue:

select wdd.source_header_number, wdd.delivery_detail_id, wdd.released_status,


wdd.ship_set_id
from wsh_delivery_details wdd
where wdd.released_status in ('R', 'B')
and wdd.ship_set_id is not null
and not exists (select 'Y'
from oe_sets os
where os.set_id = wdd.ship_set_id
and os.set_type = 'SHIP_SET');

2) Once the records are identified, you should then use the sales order pad to resolve them.
Remove the ship set from the order line and then put it back on. This will stop the error at the
time of pick release.

If the issue is that the order line does not have a Ship Set, then the issue may require a data fix to
remove the Ship Set Id from the Delivery Lines or possibly cancel the order line if feasible and
replace with a new order line.

3) Attempt to pick the order again to verify that the error no longer occurs.

You might also like