Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to do search using boolean operators on filters
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.
0