You have to indicate that it's a 2.0 script in a c...
# suitescript
a
You have to indicate that it's a 2.0 script in a comment in the script file, otherwise it defaults to 1.0. e.g. /** *@NApiVersion 2.x *@NScriptType ClientScript *@NModuleScope SameAccount */
👍 1