dennysutanto
04/27/2023, 8:13 AMto.save()
, the error is TypeError Cannot read properties of undefined (reading 'name')
Below is my script
function saveRecord(scriptContext) {
var to = record.load({
type: record.Type.TRANSFER_ORDER,
id: 1760367,
});
to.setValue('memo', 'test');
var x = to.save();
return true;
}
Help is appreciated. ThanksBen Tanner
04/27/2023, 10:16 PM