Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Inherit account address in contact address.

(0) ShareShare
ReportReport
Posted on by

Hi All,

I want to inherit the account address in contact entity when client select particular account name in lookup field present on contact entity.

5635.Untitled.png

How can i achieve it.

*This post is locked for comments

  • Suggested answer
    Aileen Gusni Profile Picture
    Aileen Gusni 44,524 on at
    RE: Inherit account address in contact address.

    Abhijit,

    If you create the contact from account context such as subgrid or associated view then it can be done using mapping.

    But your example mentioned about you create new contact then choose the lookup column which mapping wont work.

    I can give you some approaches here:

    1. You can use odata to retrieve the address fields from the selected account then copy to the address fields in your new contact.

    This must be done using javascript plus odata and register your script in the form and trigger during account lookup field on changed

    2. Create a workflow or plugin register during creating and once there is any changes in the account lookup. It is easier but you have to register it using plugin reg tool register the event and message also plus it can be called only after server side transactions meaning you cant get it before you save.

    3. Use the quick view form

    Creatw new account quick view form then put the address fields inside and then place it into the contact form.

    You can use the combination of the plugin so when users change the account lookup, quick view form will appear with new address field based on the selected account.

    After that you can run the plugin backend.

    So user can see the info up to date using quick view form while in your backend you actually save it using plugin or workflow for the sake of easier way.

    Hope this helps.

    Thanks!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Inherit account address in contact address.

    hello Abhijit

    I hope you make relations between this two . If not making it is the solution and then make relation between fields of these two entitiese.

    hope helps,

    Hoda Mousavi

  • Suggested answer
    RE: Inherit account address in contact address.

    Abhijit,

    Refer the following instructions from the below mentioned link:-

    dynamicscrmgirl.wordpress.com/.../crm-2013-javascript-retrieve-record-using-odatarest-endpoint-without-jquery

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Inherit account address in contact address.

    probably you can use a workflow , kindly look for such logic.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans