Boris Yasen
01/12/2024, 6:07 PMcheckValues = ["shipaddress","billaddress"]
for(var i =0; i<checkValues.length; i++){
if(newRec.getValue(checkValues[i]) != oldRec.getValue(checkValues[i])){
log.debug(`changed values - ${checkValues[i]}`, `${newRec.getValue(checkValues[i])} - ${oldRec.getValue(checkValues[i])}`);
changed = true;
break;
}
}
Any idea please?Anthony OConnor
01/12/2024, 6:44 PMshippingaddress
and billingaddress
instead?
or using shipaddresslist
and billaddresslist
to get the address subrecord id then get all the address fields individually and compare them all independentlyBoris Yasen
01/12/2024, 6:44 PMshippingaddress
and billingaddress
didn't workAnthony OConnor
01/12/2024, 6:46 PMBoris Yasen
01/12/2024, 6:46 PMBoris Yasen
01/12/2024, 6:47 PM