Hi everyone! I'm trying to do a user event script ...
# suitescript
k
Hi everyone! I'm trying to do a user event script where, if a field value has not changed, take an action. I'm doing
if (oldRec.getValue({fieldId: 'custbody_myField'}) == newRec.getValue({ fieldId: 'custbody_myField'}))
but it's returning
false
when the value hasn't changed. Shouldn't it return
true
?