I am loading a saved search in our NetSuite account using SuiteScript on a Suitelet script.
var itemSearchSet = search.load({
id : 'customsearch253',
});
I am then adding a new filter to the search
itemSearchSet.filters.push(search.createFilter({
name : 'itemid',
operator : search.Operator.ANYOF,
values : [itemId]
}));
I then run the search and return the results
return itemSearchSet.run();
The results I am getting from this is the columns themselves not the results. I have search heaps of things online and found nothing that matches my issue. Please help :)