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.Any suggestions??