Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Updating a currency field using the xrmsvctoolkit isn't working - any help

$
0
0

I found the XRMSVCtoolkit, I am trying to update a bill on my form without the user saving, but the code below that I copied from another user doesn’t seem to work. The value is in “new_totalbill” is a currency field. Does anyone know how to get a currency field to work with this “toolkit”. Thanks.

XrmSvcToolkit.updateRecord({

   entityName: "Contact",

   id: formGUID;

   entity: {Total Bill: new_totalbill},

   async: false,

   successCallback: function (result) {

   },

   errorCallback: function (error) {

       alert("There was an error when updating the contact record");

   }

});


Viewing all articles
Browse latest Browse all 82002

Trending Articles



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