I don't think that global variables persist betwee...
# suitescript
j
I don't think that global variables persist between the entry points in UE scripts. E.g. setting a var in the beforeSubmit will not be available then in the afterSubmit function.