Use of the Search Operator “ANYOF”

The script below shows how to use the search operator “ANYOF“. The script searches for any Sales Order that has the status of “Pending Fulfillment”

//Add additional code...
var mySearchFilter = search.createFilter({
    name: 'entity',
    operator: search.Operator.ANYOF
    values: 'SalesOrd:B'
});
...

  

Leave a comment

Your email address will not be published. Required fields are marked *