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");
}
});