<!here> I'm receiving the following error Search e...
# suitescript
p
<!here> I'm receiving the following error Search error: Parentheses are unbalanced. with the following line when I included more than 2 internal id's to my search filter... any ideas? filters[3] = new nlobjSearchFilter('internalid', 'inventorylocation', 'anyof', "4", "13", "53", "55");
l
Try nlobjSearchFilter('internalid', 'inventorylocation', 'anyof', ["4", "13", "53", "55"]);
Square brackets are needed for an array of values.
p
Ah, thanks for that. had it working with just 2 values for so long, didn't realise that was required!
l
👍