select sum(pd2.maxdeliveredquantity - pd2.quantity) from posdocuments2 pd2 where pd2.parent_id=:parent_id and pd2.storecard_id = :storecard_id and pd2.store_id = :store_id and pd2.storedocumentrow_id is not null
Generated by ABRA Software a.s. 27.10.2021 16:34:30