Kevin Baxter
06/06/2023, 1:39 PMNathan L
06/06/2023, 2:22 PMNathan L
06/06/2023, 2:22 PMKevin Baxter
06/07/2023, 12:48 PMrefine(['N/currentRecord', 'N/record'],(currentRecord, record)=> {
var objRecord = currentRecord.get();
var standardRoyalty = objRecord.getValue({
fieldId: 'custrecord_lf_school_std_roy_perc'
});
var headwearRoyalty = objRecord.getValue({
fieldId: 'custrecord_lf_school_hdwr_roy_perc'
})
var id = record.submitFields({
type: record.Type.CUSTOMER,
id: 3698,
values: {
'custentity_lf_hdwr_roy_new': headwearRoyalty,
'custentity_lf_std_roy_rate_new' : standardRoyalty
}
})
});
Nathan L
06/07/2023, 12:56 PM