You need to be in edit mode on a record <@U3Y7UJ1C...
# suitescript
m
You need to be in edit mode on a record @mg2017 if you're going to run 2.0 code in the console.