Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
filterExpression isempty
So,
I get an 'SSS_INVALID_SRCH_FILTER_EXPR_OBJ_TYPE' when I try to use the 'isempty' in a FilterExperssion .... even though, if I load a search that was built in the UI that uses isempty and do a getFilterExpression(), it shows me the same way that I'm using it.
The search.getFilterExpression() shows a 2-dimensional array ['amortizationschedule.internalidnumber', 'isempty']. I do the exact same thing when SETTING the filterExpresion and get the error.
My guess is Netsuite doesn't like a 2-dimensional.
I tried ['amortizationschedule.internalidnumber', 'isempty', ''] and it seems to work ... but how can I be sure?
0