select ID from POSDocuments where Shop_ID = :Shop_ID and DocDate$Date = :DocDate$Date and Opened = 'N' and IsPayChange = 'N' and SELLINGSTAND_ID <> '' order by OrdNumber
Generated by ABRA Software a.s. 27.10.2021 16:34:30