try adding this line above your original code, `va...
# suitescript
j
try adding this line above your original code,
var currentRecord = context.newRecord