Use of Custom Code function in Field expression