HI,
i do have that query for the current stock. IT doubles the numbers for receipt and issue, so stock is not correct, and i do not why. Maybe someone has a clue?
SELECT [Inventory Control].Lot, [Inventory Control].[Storeage Location], [Inventory Control].Description, Sum([Inventory Control]![Quantiy reciept]-[Material Issue]![Quantity]) AS stock, [Material Master].[Unit of measure]
FROM [Material Master] INNER JOIN ([Inventory Control] LEFT JOIN [Material Issue] ON [Inventory Control].ID = [Material Issue].ID) ON [Material Master].ID = [Inventory Control].ID
GROUP BY [Inventory Control].Lot, [Inventory Control].[Storeage Location], [Inventory Control].Description, [Material Master].[Unit of measure];
thanks
i do have that query for the current stock. IT doubles the numbers for receipt and issue, so stock is not correct, and i do not why. Maybe someone has a clue?
SELECT [Inventory Control].Lot, [Inventory Control].[Storeage Location], [Inventory Control].Description, Sum([Inventory Control]![Quantiy reciept]-[Material Issue]![Quantity]) AS stock, [Material Master].[Unit of measure]
FROM [Material Master] INNER JOIN ([Inventory Control] LEFT JOIN [Material Issue] ON [Inventory Control].ID = [Material Issue].ID) ON [Material Master].ID = [Inventory Control].ID
GROUP BY [Inventory Control].Lot, [Inventory Control].[Storeage Location], [Inventory Control].Description, [Material Master].[Unit of measure];
thanks