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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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