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
- Download Visual studio extension from GitHub
- Install on your Cloud Hosted Dynamics 365 FO VM as per the guidelines
- Navigate to Visual Studio -> Extensions -> Dynamics 365 -> Addins -> Generate entity relation schema

- Input the required table name in the text box
- Click on Add button

- Repeat the step 4 & 5 for additional table, if required
- Alternatively, you can use Add outward relations or add inward relations options for your scenario.
- Click in Generate DBML

- Table relationship schema will be available in Visual studio
- Navigate to https://dbdiagram.io
- Remove sample content

- Copy table relationships schema content from Visual studio and paste the same to editor of dbdigram.io

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 moreWe 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.
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...
"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...
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 ...
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...
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...
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 ...
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 ...
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...
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 ...
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...