Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Communication management - trigger a field to calculate/update upon changing another

Posted on by

Hi,

I've been brought in to develop a quick fix for my employer in the Dynamics CRM suite and i'm not up to speed with the service on how to accomplish the below task - if someone can point me in the right direction or provide links to the relevant documentation i could try to catch my own fish! Googling and searching forums for the last 2 hours hasnt yielded any relevant results.

Task:

Sales personnel need a view that shows a list of our active contracts with a column for 'Next communication date' sorted to tell them what contracts are due to be interacted with.

Solution in mind:

I have the view created and have also created a couple of helper fields on the contract form;

- Last interaction date (which the user will update upon communicating with a contract rep)

- Interaction period (fixed value determined by our lead sales rep to dictate how often a contract should be interacted with)

- Next communication date (field value = last interation date + interaction period, should be updated when the Last interaction date is updated)

What tools/mechanisms will help me accomplish the above task?

Business rules don't seem to answer the question as the conditional isn't triggered of the value of a field, but rather when a field is updated.

I stumbled across a 'event handler' which shows 'OnChange', but i'm a little lost as to how to interact with it/utilise it.

Many thanks for your time.

*This post is locked for comments

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Communication management - trigger a field to calculate/update upon changing another

    You mean populating '91' on 'Interaction Interval' field for all the existing record? If yes then you can do a bulk edit by selecting recods.

    You can also create a real time workflow to update this field and then run thethe workflow on allthe existing record.

    I hope this helps. If my post answer your questions, please mark it as helpful/ verified.

  • Ollypetconn Profile Picture
    Ollypetconn on at
    RE: Communication management - trigger a field to calculate/update upon changing another

    Hi Ravi,

    This has solved my query - thank you very much for taking the time to help me out!

    I have just implemented the calculated field and have been asked to populate the 'Interaction Interval' with a default figure of '91' until the sales team can go through them all and manipulate to the desired one.

    Is there an easy or quick way to accomplish this?

    Thanks again!

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Communication management - trigger a field to calculate/update upon changing another

    Hi,

    I guess calculated fields best suits your requirement here. As you already have created 'Last Interaction Date' & Interaction Period' fields, for 'Next Communication Date', you create a calculated field with the same formula i.e. value = AddDAYS'(Last Interaction Date' + 'Interaction Period')

    Check the below documentation which has the similar example 'Follow-up date of opportunity':

    technet.microsoft.com/.../dn832103.aspx

    I hope this helps. If my post answer your questions, please mark it as helpful/ verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans