here is a sample from on of my working client scri...
# suitescript
a
here is a sample from on of my working client scripts which creates records: