ss1.0: you can set (type) in the script then in th...
# suitescript
m
ss1.0: you can set (type) in the script then in the code within the function (type=='edit'){}