```var resultSet = query.runSuiteQL({query: sql,pa...
# general
m
Copy code
var resultSet = query.runSuiteQL({query: sql,params:[items]});
try in this param syntax but not run for me
p
What is the error? Would you mind showing the items variable?
Have you tried manually mapping the items array to the suiteQL?
Copy code
`WHERE item.ID IN ('${items.join("', '")}')`;
m
Thankyou for reply, i corrected to “WHERE item.ID IN (‘“+items.join(“‘,’“)+“’)“;
and voila, that run as expected.
🙌 1