var news3File = record.create({
type: 'customrecord_sc_s3_files',
isDynamic: true
});
news3File.setValue({ fieldId: 'custrecord_sc_amazon_sales_order_id',
value: recordObj.id,
ignoreFieldChange: true,
fireSlavingSync: true
});
console.log(news3File.getValue({fieldId: 'custrecord_sc_amazon_sales_order_id'}))
news3File.setValue({ fieldId: 'custrecord_sc_s3_line',
value: createdUniqueIdentifier,
ignoreFieldChange: false,
fireSlavingSync: false
});
console.log(news3File.getValue({fieldId: 'custrecord_sc_s3_line'}))
var newS3InternalId = news3File.save();
console.log(newS3InternalId)