select SP2.ID from storeprices2 SP2 join storeprices SP on SP.ID = SP2.Parent_ID where (SP2.QUnit = :UnitCode) AND (SP2.unitrate = :UnitRate) AND (SP.StoreCard_ID = :StoreCard_ID)
Generated by ABRA Software a.s. 27.10.2021 16:34:11