Hi All;
I am trying to calculate money fields in CRM 2013
Below is Javascript and the error
function CalculateGVAIncrease() { var val1 = Xrm.Page.entity.attributes.get['new_gvawagesdelta'].getValue(); var val2 = Xrm.Page.entity.attributes.get['new_gvaprofitdelta'].getValue(); var val3 = Xrm.Page.entity.attributes.get['new_gvaequipmentdelta'].getValue(); var result = val1 + val2 + (val3 * 0.25); Xrm.Page.entity.attributes.get['new_gvadelta'].setValue(result); }
Any help on this is much appreciated
Thanks
Pradnya
Pradnya07