I'm trying to create/run a search on sales orders ...
# suitescript
a
I'm trying to create/run a search on sales orders using the filter
{ name: 'lineuniquekey', operator: 'any', values: lineUniqueKeys }
where
lineUniqueKeys
is an array of integers, but there only ever seems to be a single result instead of multiple. I've manually checked that there should be multiple results. Is this the wrong operator or something?
a
The operator is "anyof" and this is followed by string values separated by commas.
It would look something like:
{ name: 'lineuniquekey', operator: 'anyof', values: stringValue1, stringValue2, stringValue3 }