Last updated on FEBRUARY 24, 2017
Applies to:Oracle Retail Allocation - Version 13.0.0 and later
Information in this document applies to any platform.
Available Quantity calculation is incorrect when ASNs (Advance Shipping Notification) are received.
1. Create a warehouse (WH) Purchase Order (PO) for one item, quantity 2.
2. Approve the PO.
3. Do not create an allocation at this time. It is a non-pre-mark order, so no allocations were sent with the PO.
4. Now suppose an ASN comes in for quantity 1. Note that this ASN does not have final "destination" information, as it is just for a shipment to the warehouse.
5. Now suppose the replenishment analyst is informed of the ASN, and creates a manual allocation.
6. At this time, user can see qty 2 available to allocate, but creates an allocation for qty 1 to match the ASN.
7. The WH receives against the ASN and the shipment is received.
8. The WH processes the allocation and sends it out to the store.
9. Now suppose the analyst wishes to create another allocation for the expected second unit.
10. Problem: In the allocation, the user cannot see the 1 unit that should be available.
This is related to the calculation described in Doc ID 1935826.1 What is the Formula Used for Calculating the Available Quantity on a Purchase Order (PO)?
This calculation assumes that the po_rcvd_qty on alloc_detail is updated at the time the WH receives the product.
By looking at the code you can see this is only true provided that the inbound shipment data already has an association to the allocation destination, which in this case is not true.
Calculation is: (QTY_ORDERED - QTY_RECEIVED) - (QTY_ALLOCATED - PO_RCVD_QTY)
Which in this case is: (2 -1) - (1 - 0) = 0.
This calculation would work properly if there were pre-mark allocations whereby the po_rcvd_qty was populated.
Is there a problem with the configuration or a flaw with the calculation?
There should not be any expectation that pre-mark PO functionality is in use for calculating the available quantity as many suppliers are not capable of sending allocations as part of an ASN.
This means that the quantities cannot be allocated for POs with multiple WH shipments.
Replenishment analysts do not have proper visibility to the unallocated quantity in the Allocation tool, which leads to merchandise ending up in WH inventory rather than being fully allocated.
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