custom sql for signoff dropdown