Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to create 1-N relationship from my custom entity to Address Entity

Posted on by 35

Hello,

I noticed Account entity has a 1 to many relationship with Address Entity in Dynamics 365. Does anyone know if it is possible to reuse this Address entity? I mean I would like to create a 1-N relationship from my custom entity to this Address entity. 

Not quite sure this Address is a "real" entity, since I did not see a related table in database.

Thank you very much in advance.

Junbin Duan

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to create 1-N relationship from my custom entity to Address Entity

    It is always good to reuse the customer address entity to centralise the all the address in the crm application .You need to create some fields in your custom entity.don't go for new entity otherwise you can't manage.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to create 1-N relationship from my custom entity to Address Entity

    Yes I see you can reuse the field of address as junbin mentioned.  Please go for this way.

  • Junbin Duan Profile Picture
    Junbin Duan 35 on at
    RE: How to create 1-N relationship from my custom entity to Address Entity

    Hi Goutam,

    Thank you for the information. However, creating relationships is not a problem. The problem is how to reuse the Address entity in my custom entity (1 to N), which seems not possible. I have to create my own address entity. If you have an idea for reusing the address entity, that would be very helpful.

    Thanks again,

    Junbin Duan

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to create 1-N relationship from my custom entity to Address Entity

    Hi Junbin,

    You can find details step here -

    docs.microsoft.com/.../create-and-edit-1n-relationships

  • Verified answer
    Junbin Duan Profile Picture
    Junbin Duan 35 on at
    RE: How to create 1-N relationship from my custom entity to Address Entity

    Found following link which answered the question:

    community.dynamics.com/.../259036

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans