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!
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