SELECT A.StoreCard_ID, SUM(A.InvQuantity) FROM LogStoreContents A JOIN LogStorePositions LSP ON LSP.ID = A.Parent_ID WHERE LSP.Store_ID = :StoreID AND A.InvChange = 'A' GROUP BY A.StoreCard_ID
Generated by ABRA Software a.s. 27.10.2021 16:35:19