Is it possible to create a Search in SuiteTalk usi...
# general
e
Is it possible to create a Search in SuiteTalk using multiple criteria? I need to search for specific Location and items, using AND/OR logical operators. Something like
location = 123 AND (item = 1 OR item = 2).
b
you probably want to build the search in the ui first
you dont have access to search expressions in searches in soap, but that is unneeded for your task
e
Hi @battk My search criteria is dynamic. I need to pass the location ID and specific inventory items every time I run it. So far, I have an advanced search that correctly retrieves all the items for a warehouse (12,000 of them) but I only need a subset of items, based on some criteria.
b
build it in the ui first so you have an idea of the capabilities of a search
e
I have done that already, using the Chrome extension to see the query.
b
what did it look like
e
Copy code
type: "item",
   filters:
   [
      ["location","anyof","116"], 
      "AND", 
      [["class","anyof","109","113"],"OR",["invtclassification","anyof","1"]]
   ],
b
nope, cant be done
no filter expressions
e
Is it possible to create a Saved Search in the UI, leaving the location ID as a parameter to pass it in SuiteTalk? The only dynamic filter is location ID.
b
you can try, but i think that only works with regular searches without filter expressions
e
Thanks @battk