Loading...

What Must Be Done To Create An Entity Relationship Diagram in Dynamics 365 Finance & Operations

What Must Be Done To Create An Entity Relationship Diagram in Dynamics 365 Finance & Operations

This blog post walks you through the process of creating ERD diagrams and unpacking them with information about Dynamics 365 Finance & Operations.

Problem statement

The customer IT team is expecting the implementation team to generate an ERD diagram for custom or standard tables to understand Dynamics 365 FO table relationships.

There are a few situations in the discovery and design phase of Dynamics 365 FO implementation where ERD really simplifies everyone's life.

Why is it so critical?

By creating ERDs, business analysts and users can clarify business terms, understand business domains, and connect concepts to databases.

What is an ERD (Entity Relationship Diagram)?

It describes the relationship between entities or concepts in a data model. It is therefore necessary to distinguish between those two concepts.

An ERD is really about showing logically how concepts relate to one another and what key data elements business users need to know about a concept. The purpose of the tool is to help communicate how information is stored and how the business views relationships.

Using an example, what might be a business concept?

It could be a sales order, and I think it's a good one. Is it possible for a customer to place more than one order, and is it possible for an order to have more than one customer? It is usually not the case. Customers often place multiple orders.

Yes, that's great, but most orders have just one, and only one, customer. That's what a relationship is all about.

As far as data goeslets talk about it for just a momentit isnt the way most business analysts want to make thembut its going to show you, very detail, all the tables in the database, and how those tables are related to one another. It's the same idea I just spoke about: one-to-many, one-to-one, many-to-many.

How do those tables relate to one another, and what are all the fields they contain?

My goal is to walk you through some of the key examples using the visual model we showed you earlier. Let's begin with entities. An entity is a thing, a concept. The box you're looking at is on this model. It's a concept in business jargon. As far as relational databases are concerned, it is the table.

Lastly, there are the relationships. It's the relationships between the boxes that make them connected. In this diagram, we can see how the entities relate to one another, which is where the real insight lies. A relationship is actually a verb or a numerical relationship that connects two nouns.

Lastly, we have attributes. An entity can have more than one attribute. Attributes provide details about the entity. Information about the concept is provided in detail.

That model helped us get over that intellectual hurdle, and it was a business-focused ERD, as well as an ERD that helped us overcome this huge problem on the project.

Let's jump in and understand Visual studio extension & dbdiagram.io tool features and see how it generates DBML.

Navigate to the GitHub repository of Paul.

GitHub link : https://github.com/noakesey/d365fo-entity-schema

As described, this tool is a visual studio extension to generate an entity relation schema using Database Markup Language (DBML)

Post generation of entity relation schema, online tool such as dbdiagram.io can be used to render the resulting DBML.

Thank you Paul for your valuable contribution to the community.

Steps to follow to generate the ERD

  1. Download Visual studio extension from GitHub
  2. Install on your Cloud Hosted Dynamics 365 FO VM as per the guidelines
  3. Navigate to Visual Studio -> Extensions -> Dynamics 365 -> Addins -> Generate entity relation schema image.png
  4. Input the required table name in the text box
  5. Click on Add button image.png
  6. Repeat the step 4 & 5 for additional table, if required
  7. Alternatively, you can use Add outward relations or add inward relations options for your scenario.
  8. Click in Generate DBML image.png
  9. Table relationship schema will be available in Visual studio
  10. Navigate to https://dbdiagram.io
  11. Remove sample content image.png
  12. Copy table relationships schema content from Visual studio and paste the same to editor of dbdigram.io image.png

Isn't it simple and elegant to generate DBML?

Conclusion

A faster time to implement business processes with correct business entity relationships.

I hope this article was a good read for you. Do share it with your friends and other peers.

Thank you Shabbir for inspiring me to write this blog and exchange of thoughts.

Thank you so much!

Published on:

Learn more
Need help with this product?

We can help you with What Must Be Done To Create An Entity Relationship Diagram in Dynamics 365 Finance & Operations

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

Rakesh Darge's Blog
Rakesh Darge's Blog

Rakesh Darge's Blog

Share post:

Related posts

One Roadmap to Rule Them All: What the AI at Work Roadmap Means for Dynamics 365 and Power Platform Architects

If you've ever bookmarked a Release Plan page on Learn, saved a filtered view in "My Release Plans," or built a client deck around Wave 1/Wave...

6 days ago

"Fix ‘This is Not a Unified Environment’ Error in D365 FO – Why Metadata Download Fails in Visual Studio"

🚨 “This is not a unified environment…” - A Story Every Dynamics 365 Finance & Operations Developer Should Hear Let me start with a real story...

5 months ago

PPAC Unlocked: Deploying Dynamics 365 ERP Environments with and without Demo Data

Let me start with a story… A few months ago, I was working with a customer who was planning to implement Dynamics 365 ERP. Their approach was ...

5 months ago

My Experience with AB-100: Earning the Microsoft Certified AI Business Solutions Architect Badge

The AI space is evolving rapidly, but very few certifications truly reflect how AI is designed, governed, and delivered in real business envir...

6 months ago

Demystifying the Copilot Sidecar Architecture in Dynamics 365 Finance and Operations ERP: A Solution Architect’s Guide

Welcome to the future of enterprise resource planning! If you're exploring the world of Dynamics 365 Finance and Operations (F&O), you've like...

1 year ago

Accelerate Your Development with Dynamics 365 FO Custom Batch Framework Templates

No matter the complexity of Dynamics 365 FO implementation, developing custom batch jobs is always necessary to accommodate tailored business ...

1 year ago

Improve Dynamics 365 FO Non-continuous Number sequence Performance: Tips and Strategies for Success!

Navigating performance issues in Dynamics 365 FO can be quite a challenge. There are numerous factors and considerations to take into account ...

1 year ago

How do we analyze Dynamics 365 FO Golden Copy configurations across the environments?

In the ever-evolving Dynamics 365 FO ecosystem, maintaining Golden Copy configurations remains one of the most discussed and reimagined aspect...

1 year ago

My Top 10 Learning of Copilot for Dynamics 365 Finance & Supply Chain Management

Hey Learners, 👏It seems that Microsoft Copilot, the AI-powered assistant, is gaining popularity worldwide. Customers and partners are trying ...

2 years ago

6 Prompts for resolving Tier 1 ERP table mapping challenges with Dynamics 365 Finance & Supply chain

Wouldn't it be great if we could simplify a few complex tasks to boost Dynamics 365 FO implementation productivity?There have been a number of...

2 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.