You can create a Search on the UI save it, go back...
# suitescript
a
You can create a Search on the UI save it, go back and edit it and the extension would give you the search code...