exact same thing works fine in beforeSubmit
# suitescript
e
exact same thing works fine in beforeSubmit