Thanks <@U4DG62U2H>, I eventually got it to work. ...
# suitescript
j
Thanks @jarens, I eventually got it to work. That may/may not have been part of it. Mine works without the array bit. The documentation asks for an array though