select ID from PaymentOrders2 where Parent_ID is null and DueDate$DATE <= :DueDate
Generated by ABRA Software a.s. 27.10.2021 16:34:10