Tuesday, September 11, 2012

Qualified Lead in CRM 2011.


SetStateRequest request = new SetStateRequest
{
               EntityMoniker = new EntityReference("lead", new Guid(leadduns["leadid"].ToString())),
               State = new OptionSetValue(1),
               Status = new OptionSetValue(3)
};
 _service.Execute(request);

No comments:

Post a Comment