<@U29PVMVAR> To expand my search: This works: ``` ...
# suitescript
d
@erictgrubaugh To expand my search: This works:
Copy code
search.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:
Copy code
var s = search.create({type: "itemfulfillment"});
s.filters = [["tranid", "is", "IF-1111111"], "and", ["mainline", "is", "T"]];