Temitope Pinheiro
06/14/2020, 2:08 PM/**
* @NApiVersion 2.x
* @NScriptType ClientScript
* @NModuleScope SameAccount
*/
define([],
function() {
function fieldChanged(context) {
var employee = context.currentRecord;
if (context.fieldId == 'phone'){
var fax = employee.getValue('fax');
if (!fax){
var phone=employee.getValue('phone');
employee.setValue('fax', phone);
}
}
}