if (department.includes(x)) { nlapiSetFieldVal...
# suitescript
n
if (department.includes(x)) { nlapiSetFieldValue('generatereturnlabel', 'F'); }