select Max(PID.ExportNumber) from PDMIssuedDocs PID where PID.Closing_ID = :ClosingOID
Generated by ABRA Software a.s. 27.10.2021 16:35:05