I think your internal id for recordType isn't corr...
# suitescript
j
I think your internal id for recordType isn't correct, try record.Type.TRANSFER_ORDER or 'transferorder'