dbaghdanov
11/17/2017, 9:44 PMsearch.create({type: "itemfulfillment", filters: [["tranid", "is", "IF-1111111"], "and", ["mainline", "is", "T"]]}).run().each(function(result){ console.log(result); return true; });
But this will throw an error:
var s = search.create({type: "itemfulfillment"});
s.filters = [["tranid", "is", "IF-1111111"], "and", ["mainline", "is", "T"]];