Anyone have experience with the Query module / wor...
# suitescript
a
Anyone have experience with the Query module / workbooks? When searching multiple transactions by internal id, is there a way to do an
anyof
like in
N/search
module or do I need an
OR
between each id?
j
You can use the query.createCondition function,
var firstCondition = kitQuery.createCondition({ // KIT ID
fieldId: 'id',
operator: query.Operator.ANY_OF,
values: item
});
@Azi
a
Thank you @jacksonp
👍 1