Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Javascript error when total money is calculated in CRM 2013

$
0
0

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


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>