Hello,
I am trying to create a total that automatically updates/rolls down when some of the inventory has been exhausted by a sale/order. I need to have the left-over Physical Inventory value roll down to the next truck that will be loading that Rock Color and have that new value used in the calculation.
- In Data Set 1 the value provided by the record “Truck Load Total” under the Load Weight field represents a sum of the bags ordered to be loaded on the truck. Physical Inv. Total represents our current inventory/stocks. We want to exhaust the Truck Load Total value before the Physical Inventory.
- In Data Set 2 we have the Shipment Total Weight for each truck broken out by Rock Color. This value represents the sale/value total we must load on the truck.
I have two starting data sets that are linked by the “Truck Sort Order” and “Truck & Rock Color GroupID” fields. The “Truck & Rock Color GroupID” differs from the “Truck Sort Order” field by creating a unique value based on Rock Color.
EXAMPLE: The truck GOLIATH has a Shipment Total Weight (Sale) of 3000 RED ROCK. We currently have 2789 RED ROCK ordered and have 22187 in stock. We want to exhaust the value ordered first so, 3000-2789 = 211. We will then subtract that left over value from 22187 to give us 21976. The newfound Physical Inventory of 21976 should appear for the next Physical Inventory of a truck loading RED ROCK. This should continue after each subsequent truck load.
I have attached an example output for clarification.
Thank You! I've been stumped on this one!