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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
SuiteScript search.createFilter "OR".
I would like to add this as a filter condition
"Item ID starts with 003 and 005".
but it does not work.
function getItemInfo(params) {
const filters = [
search.createFilter({
name: "name",
operator: search.Operator.STARTSWITH,
values: 005,
}),
...
this code does not work
search.createFilter({
name: "name",
operator: search.Operator.STARTSWITH,
values: ["003","AND","005"]
How can I do this?
Tagged:
0