select max(id) from PLMWorkScheduleItems where priority = :APriority
Generated by ABRA Software a.s. 27.10.2021 16:34:49