if you want to save data, you can use nlapiSubmitF...
# suitescript
r
if you want to save data, you can use nlapiSubmitField