When on beforeSubmit, and you use the new record `...
# suitescript
s
When on beforeSubmit, and you use the new record
Copy code
newRec = context.newRecord;
newRec is in standardMode. if you try newRec.isDynamic, it will return false. It seems that on beforeSubmit, it will always be on standard mode. I've been trying to find the documentation on that in SuiteAnswers, but I can't seem to find it. Anyone knows if that is true? or where I can get that information? All I can find is when you load the record, you can choose standard or dynamic, but on beforeSubmit, you don't really get to choose that since you are not "loading" the record
b
s
ahh thank you!