Exactly but you are using methods for Dynamic reco...
# suitescript
a
Exactly but you are using methods for Dynamic records which I think is not right because beforeSubmit (newRecord) I would expect it to be Standard...