So search for the departments, compile them into a...
# suitescript
m
So search for the departments, compile them into a string with comma-separated values, and send them via nlapiRequestURL.