or write a user event script that throws an error ...
# suitescript
b
or write a user event script that throws an error beforeSubmit