Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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);