converting ss1 to ss2. in ss1 i can check if type ...
# suitescript
m
converting ss1 to ss2. in ss1 i can check if type == 'create' on the OnSave function. seems like we can't use ss2 equivalent if context.mode == 'create' in a client script. don't want to set fields each time a record is saved. anyway around this?