Are we sure BAQs IN clause takes a tilde separated list? I’d try comma delimiter like SQL expects. If that doesn’t work, there’s also a client-side ‘function’ action that converts list values for passing into BAQs. convertDelimtedListToSql . Oh and JobNum is char so sql expects quotes as well. The function does that too I believe.