Hi,
I am developing a plugin which will override the existing behaviour of Qualify leads, for that I am running a plugin on the PreValidation event. However, I am getting an error on, systemService.Update(resp.Entity);
Error : Entity Id must be specified for Update
//initialize form traceService.Trace("QualifyLeads: Account Creation started"); InitializeFromRequest req = new InitializeFromRequest(); //set the source entity req.EntityMoniker = new EntityReference(LogicalName, LeadId); req.TargetEntityName = "account"; req.TargetFieldType = TargetFieldType.All; InitializeFromResponse resp = (InitializeFromResponse)systemService.Execute(req); systemService.Update(resp.Entity); traceService.Trace("QualifyLeads: Account Created");
Am I missing anything ?
Entity Id what i am getting in return is {00000 000000 0000000}