yeah I figured that might be the way, seems a bit ...
# suitescript
j
yeah I figured that might be the way, seems a bit clumsy though, I wish there was a getTypeById or something