could you just call create on the custom record an...
# suitescript
j
could you just call create on the custom record and on the result obj newRec.fields.rectype