Code fixes to update lead contact dates in Microsoft CRM

Code fixes to update lead contact dates in Microsoft CRM

I'm having a problem when using Campaign Activity in Microsoft Dynamics. The anti-spam option in Campaign Activity considers only those leads that were contacted using the campaign. If a person was contacted by any other means (such as Quick Campaign, or any other activity) the last date included in the campaign is not updated.

Do you know if Microsoft has released a patch for this issue, or if there's another solution?

    Requires Free Membership to View

    When you register, you'll begin receiving targeted emails from my team of award-winning editorial writers on the latest customer relationship management (CRM)and call center technology issues today. Our goal is to keep you informed on the hottest issues facing this fast-changing industry.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchCRM.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchCRM.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Microsoft uses the "last contacted" field in Dynamics CRM on accounts, contacts and leads to determine when the customer was last contacted, but only by a campaign. It is possible that ongoing communications with customers could be occurring before or during a campaign, but it is not always clear whether or not that interaction could be relevant for excluding them from a new marketing initiative. As a result, Microsoft opted to only update the last contacted date when a campaign activity was sent to the user.

The date, however, can be manipulated. The recommended approach would be to use custom code (Visual C# or Visual Basic) via the post call-out on the activity form to update the last contacted field on the account, contact or lead. A simpler, but not necessarily recommended, approach would be to create a background SQL process that would update the last contacted value. This approach is not recommended because Microsoft could opt to make changes to the schema in a future release that would render the custom SQL solution unusable.

We have not heard if Microsoft plans to change this functionality in a future release.

This was first published in June 2007