Hi,
I have created auto number entity as shown below screen. I want to do increment on next number of auto number entity from opportunity form.
I used below script on opportunity form load event. and add SDK.RES.js for CRM 2015 SDK.
But I am getting below error when I run the scripts
function Form_onload()
{
var new_autonumber = {};
new_autonumber.new_Opportunityrefnumber = 200;
SDK.REST.updateRecord("{90FA790A-362B-E711-80BF-00155D644B1B}", new_autonumber, "new_autonumber", updateSuccessCallback , errorHandler);
}
*This post is locked for comments