Select Sum(A.Quantity) From LogStorePositionDemands A JOIN LogStorePositions B ON A.Parent_ID = B.ID Where B.Store_ID = :Store_ID and B.ReservedForDoc_ID = :ReservedForDoc_ID and B.ReservedForDocType = :ReservedForDocType and A.StoreCard_ID = :StoreCard_ID and A.QUnit = :QUnit and A.UnitRate = :UnitRate
Generated by ABRA Software a.s. 27.10.2021 16:35:19