If client script and a new record then you have to...
# suitescript
k
If client script and a new record then you have to save first.