Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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);