I need to do a search on sales orders using web services, and I want to use boolean operators on the search filters, for example
I want to search all sales order where
(
(customfield1 = somevalue AND customfield2 = somevalue)
OR
(customfield1 = somevalue AND customfield2 = somevalue)
)
So the main question is how do I add the OR operator? I know I can call a saved search, but I don't want to use that option.
A code example for this would greatly help.