Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

How to auto-update account field when contactperson is known?

Posted on by Microsoft Employee

Dear all,

I'm working on the integration of a telephone app with our case management in Dynamics 365.

The application auto updates the customer (customerid) field with either the account or the contactperson that you're speaking to on the phone (selection that can be made in the application by the user).

Since we want to populate both fields, it's most logical to select the contactperson, because these are often linked to an account.

I'm now trying to auto-update/populate an account/company field when the customer field or a contactperson field is filled/populated.

An additional prerequisite is that this must be done without saving the record in between.

Reason for this prerequiste is that I want to work with organization-required fields.

Hoping that you can help me.

If additional information is required, please let me know.

Best regards,

Maurice

  • Suggested answer
    MNarmeen Profile Picture
    MNarmeen 1,846 on at
    RE: How to auto-update account field when contactperson is known?

    Have you considered using a quick view card ?

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: How to auto-update account field when contactperson is known?

    Hi Maurice Wierckx,

    You can implement this with JavaScript that runs on change of the customer field and updates the account/company field. This meets your requirement of the change occurring prior to the save event.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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