Good evening forum,
Been some time since I came to you for assistance, but this one has got me.
I am trying to figure out a formula to return the value of stock being allocated to an order.
I have 2 lists, Stock age and Backorder
Stock age lists receipt date, product code, serial number, quantity on serial, unit cost. This list is sorted by oldest receipt first
Backorder lists product code and quantity ordered. This list is sorted by oldest order first
The issue is some serial numbers may be a single unit or may be multiple units. So an order for 3 units may come from 3 seperate consecutive serials, 1 unit from one serial and 2 units from the next serial OR 2 units from one serial and 1 unit from the next serial. On top of that each serial may have different unit costs.
A little example/sample attached showing expected outcome for first 2 orders and how that would be achieved
Bookmarks