Hi all, ```const tran_ids = [ "OUT-0018, OUT-00...
# suitescript
d
Hi all,
Copy code
const tran_ids = [
   "OUT-0018, OUT-0019, OUT-0020"
]
......
filters: ['custrecord_fd_tran_id', search.Operator.XXXXXXX, tran_ids],
in search.create filters, what operator should i use to filter by array of text ?
n
You will need to use filter expressions and use the OR operator for each of those tran ids.
If you can, use internal ids.
d
i cannot use internal ids for this case unfortunatelly
so you're saying i loop the array and generate expression with OR
n
yes. exactly.
d
hmm ok, i thought there is a built in operator that i can use, i tried contains but it didn't work