rscarvalho
function val(name) { return myRecord.getValue({ fieldId: String('custrecord_prefix_' + name) }); }