<@UDLR3285V> Have you tried building it in the UI ...
# suitescript
n
@KatherineK Have you tried building it in the UI then exporting the code using the chrome extension? Might give you a clearer view of the structure?