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
Search using "OR" across multiple fields
Is it possible to execute a customer search (or any search) across multiple fields using "OR". For example, I am providing a "global search" similar to Netsuite itself. There is only one input, so the user can type in a generic value instead of having to know the exact firstname or lastname.
Let's say they type "Peter".
Expected behavior would be something like: "find customers where firstname contains Peter or lastname contains Peter".
Actual behavior seems to return results using "AND". Each field I add to my CustomerSearchBasic automatically becomes part of the entire search query.
0