Yeah, I would get rid of the currentRecord referen...
# suitescript
m
Yeah, I would get rid of the currentRecord references and use the scriptContext object that is passed in to beforeSubmit.