select ID from ReceivedCreditNotes where Source_ID = :Source_ID and DocDate$Date <= :DocDate
Generated by ABRA Software a.s. 27.10.2021 16:34:11