You should use the currentRecord module.
# suitescript
b
You should use the currentRecord module.