Ok, so I think what I may try is checking the fiel...
# suitescript
t
Ok, so I think what I may try is checking the field type and if it's a select, run a function to try to find that values internal id - that way I can safely use setValue for everything (I hope)