Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

dyncmics 365 setstate 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: #dyncmics #setstate #request
ADD COMMENT
Topic
Name
9+7 =