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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
suitescript createFilter OR
What is the syntax when using createFilter to add an OR. I tried 'OR' as the Filter and got invalid syntax. I want to do:
filters.push(search.createFilter({ name : 'internalidnumber', operator : search.Operator.BETWEEN, values:[fromId, toId]}));
'OR'
filters.push(search.createFilter({ name : 'somefield', operator : search.Operator.BETWEEN, values:[fromId, toId]}));
1