This message was deleted.
# suitescript
s
This message was deleted.
n
Doesn't appear anything there that implies "loading" has failed it looks like you're not creating search filters to push in to the filters...
Copy code
var salesSearchObj = search.load({id: searchID});
                                salesSearchObj.filters.push(search.createFilter({
                                    name: 'item',
                                    operator: search.Operator.ANYOF,
                                    values: itemArray
                                })););
@Ahmed
s
Yeah you are pushing a generic js
object
instead of
search.createFilter(object)
Also I believe
internalid
uses
anyof
, not
is
a
Thanks for help .. actually there was no issue i was not printing the search results .. instead i was printing filters ..