Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

ms crm set state request dynamics 365 set state request

SetStateRequest req = new SetStateRequest();

req.EntityMoniker = new EntityReference("contact" ,entity.Id);

req.State = new OptionSetValue(1);

req.Status = new OptionSetValue(2);

service.Execute(req);
Source by community.dynamics.com #
 
PREVIOUS NEXT
Tagged: #ms #crm #set #state #request #dynamics #set #state #request
ADD COMMENT
Topic
Name
1+8 =