The tranid won't be available in the beforeSubmit ...
# suitescript
m
The tranid won't be available in the beforeSubmit on a CREATE event, but it should be accessible in afterSubmit