Hello experts,
My question is really not that difficult, but I did not found an answer online.
I have a plugin which is retrives a lead,who can I determine if this lead was qualified once?
var entities = service.RetrieveMultiple(leadExp);
if (entities.Entities.Count>0 && ItWasQualified())
{
service.Delete(leadEntity.LogicalName, (Guid)entities[0].Attributes["leadid"]);
}
bool ItWasQualififed()
{
//???
}