Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
SSS_INVALID_SRCH_OPERATOR error while using nlobjSearchFilter
Hi everyone,
I got a problem with searchfilter in this code.
while running this script it is displaying the error Error: SSS_INVALID_SRCH_OPERATOR
Here in this script i am searching according to some values in some custom item fields to be compared.
var filters = new Array();
filters[0] = new nlobjSearchFilter('custitem5', null, 'is', nlapiGetCurrentLineItemValue('item', 'custcol22'));
filters[1] = new nlobjSearchFilter('custitem6', null, 'is', nlapiGetCurrentLineItemValue('item', 'custcol21'));
filters[2] = new nlobjSearchFilter('custitem3', null, 'is', nlapiGetCurrentLineItemValue('item', 'custcol4'));
filters[3] = new nlobjSearchFilter('custitem2', null, 'is', nlapiGetCurrentLineItemValue('item', 'custcol5'));
// Define search columns
var columns = new Array();
columns[0] = new nlobjSearchColumn('itemid');