^^ that's probably a cleaner way to get around the...
# suitescript
b
^^ that's probably a cleaner way to get around the srchResults being null and blowing up your script.