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.
Script filter error
Hi,
I seem to have an issue with a scripted search where the criteria set in the script is always treated as an OR search when it should be an AND.
Below is my code, can someone advise what is wrong...
department = "EWM";
season = "Fall";
year = "2015";
city = "Mumbai”;
transactionColumns[0] = new nlobjSearchColumn('custitem_region', 'item', null);
transactionColumns[1] = new nlobjSearchColumn('custcol_exportcore', null, null);
transactionColumns[2] = new nlobjSearchColumn('internalid', null, null);
transactionColumns[3] = new nlobjSearchColumn('custentity_custcoreid', 'customer', null);
transactionColumns[4] = new nlobjSearchColumn('custentity_custfilemaker', 'customer', null);
transactionColumns[5] = new nlobjSearchColumn('displayname', 'item', null);
transactionColumns[6] = new nlobjSearchColumn('entity', null, null);
transactionColumns[7] = new nlobjSearchColumn('tranid', null, null);