SELECT DISTINCT 'PD', PD.id FROM POSDocuments PD WHERE PD.POSShift_ID = :OBJID union SELECT DISTINCT 'PR', PR.id from POSReceipts PR where PR.POSShift_ID = :OBJID union SELECT DISTINCT 'PS', PS.id from POSSummaredDocuments PS where PS.POSShift_ID = :OBJID
Generated by ABRA Software a.s. 27.10.2021 16:34:30