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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
nlobjSearchFilter invalid operator error - ONLY when submitting order online
I have user event script deployed to the sales order. The script contains an nlobjSearchFilter which works when logged into netsuite, however I get the following error when submitting the order via the shopping cart.
Error: SSS_INVALID_SRCH_OPERATOR
An nlobjSearchFilter contains an invalid operator, or is not in proper syntax: pricelevel
var filters = []; filters[0] = new nlobjSearchFilter('internalid', null, 'anyof', itemIds); filters[1] = new nlobjSearchFilter('pricelevel', 'pricing', 'anyOf', priceLvl); //Search for every items var search = nlapiSearchRecord('inventoryitem', null, filters, columns); I have read several post and have changed 'anyOf' to 'is' and still have the same results. According to the guide, 'pricelevel' is a select field.
0