user events dont run WHILE creating the record... ...
# suitescript
a
user events dont run WHILE creating the record... beforeSubmit runs BEFORE creating the record afterSubmit runs AFTER creating the record... but yes the fact that its from a webstore wouldn't make a difference, the sales order wouldn't be created and the error would return to the webstore user