rscarvalho
var myRecord = record.load(...); function val(name) { return myRecord.getValue({ fieldId: 'custrecord_prefix_' + name }); } log.debug({ title: 'printing value', details: val('myfield') });