if you want it before the record is saved, you wan...
# suitescript
b
if you want it before the record is saved, you want a client script