Did you happen to generate the Client Script from ...
# suitescript
e
Did you happen to generate the Client Script from a template which has an empty
saveRecord
function?