I have two fields for Inventory - one is Qty in Lot and one is Allocated in Lot. Each Product can have multiple lots, so therefore I need to sum the Qty column for the product and minus the sum of the Allocated Column. This is what I thought I needed:
But that is not Summing all the Qty for that product then subtracting the sum of all the allocated for that product. What am I doing wrong?
Code:
Sum([QTY])-Sum([ALLOCD]) AS INV,
But that is not Summing all the Qty for that product then subtracting the sum of all the allocated for that product. What am I doing wrong?