Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: RE: CRM 2013: C# code to mark a case as complete

$
0
0
Change to SetStateRequest state = new SetStateRequest(); // Set the Request Object's Properties state.State = new OptionSetValue(1); //change this to the complete status state.Status = new OptionSetValue(100000004); // Point the Request to the entity whose state is being changed state.EntityMoniker = new EntityReference(entity_helpdesk.EntityLogicalName, entity_helpdesk.Id); // Execute the Request SetStateResponse stateSet = (SetStateResponse)_serviceProxy.Execute(state); Hope this helps. Thanks.

Viewing all articles
Browse latest Browse all 154803

Trending Articles



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