Check the due date for all open Cases once a day and set ‘Exceeding SLA’ indication if due date has passed

In this post i will describe  some of the scenarios and  solutions-


- Check the due date for all open Cases once a day and set ‘Exceeding SLA’ indication if due date has passed
- Send monthly news letter automatically to target customers
- Update MSCRM Users details from Active Directory once a day
- Once a month, disqualify all leads with no open activities



Below is the link to above scenarios

https://mscrm2015asynchronousbatchprocess.codeplex.com/

Monday, August 3, 2015

An item with same key has already been added.


Entity avproductionstatistic = new Entity("mer_avproductionstatistic");
avproductionstatistic.Id = Guid.Empty;
                                if (avproductionstatistic.Contains("mer_avproductionstatisticid"))
                                    avproductionstatistic.Attributes.Remove("mer_avproductionstatisticid");