function ChangeStatusReason_toReject() {
XrmServiceToolkit.Soap.SetState("entityname", Xrm.Page.data.entity.getId(), statecode, statuscode,false);
Xrm.Page.data.refresh(true).then(null, null);//for refreshing form
}
XrmServiceToolkit.Soap.SetState("entityname", Xrm.Page.data.entity.getId(), statecode, statuscode,false);
Xrm.Page.data.refresh(true).then(null, null);//for refreshing form
}
Thanks! This helped me!
ReplyDeleteI wrote about a similar issue, I give you the link to my site. donorperfect consultant
ReplyDelete