Hello everyone - got a problem I am a bit stumped ...
# suitescript
a
Hello everyone - got a problem I am a bit stumped on and can't find anything that has worked just yet. Here it goes. I have a SuiteScript (1.0) function that is running a basic saved search. When it gets the correct result, everything works just fine. However, when it encounters a result where there is nothing to return, I am getting an nlobjError with a name of "SSS_INVALID_SRCH_OPERATOR" I wrote in a try and catch but it still persists. I have also tried an if statement for if the search results are null, but that doesn't seem correct as it will still throw this error and stops the function from completing. My last attempt was to put catch (nlobjError) instead of just catch (exc) as I read earlier in this channel, but it's still showing as an uncaught error...any ideas on what I'm missing?