SELECT * FROM Docks A
WHERE (A.Employee_ID = :EMPLOYEE) AND
(A.WagePeriod_ID=:WAGEPERIOD) AND
((A.Required > A.Realized and A.IsPercent='N') or (A.RequiredAmount > A.Realized and A.IsPercent='A'))Generated by ABRA Software a.s. 27.10.2021 16:34:35