select B.ID from DocConfirmationBreaks B where DocType = :DocType and (DocQueue_ID = :DocQueueID or (DocQueue_ID is null and :DocQueueIDNull = 'A'))
Generated by ABRA Software a.s. 27.10.2021 16:34:08