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!
Sales Order search using operator DoesNotContain returns wrong result
The below code shows searching over sales orders on the memo field with both the Contains and DoesNotContain operators. Running the search with the Contains operator returns the correct result taking the searchValue and returning every sales order with the memo containing that searchValue. However when you run the search with the DoesNotContain operator it returns values containing the searchValue and not containing the searchValue. The SOAP for each is correct and posted below and each one is correct it's just that netsuite is returning the wrong result set for a search using the DoesNotContain operator.
SearchStringField memoSearch;
if (up != "")
0