Hi All,
I need some help, I want to use "SetStateRequest" to Active\Deactive records in entity but i want to use "SetStateRequest" with "ExecuteMultipleRequest" and currently i am using below code which is Deactivating records one by one. So my requirement is that, i want to bulk Active\Deactive record in CRM using "ExecuteMultipleRequest".
SetStateRequest req = new SetStateRequest();
req.EntityMoniker = new EntityReference("contact" ,entity.Id);
req.State = new OptionSetValue(1);
req.Status = new OptionSetValue(2);
service.Execute(req);
*This post is locked for comments
I have the same question (0)