Module4 Data Model Development
Module4 Data Model Development
Development – Introduction
• This module covers how to create and manage
the data model in D365 F&O.
• We’ll work with Tables, Extended Data Types
(EDTs), Base Enums, and Table Relations.
Understanding the Data Model in
D365 F&O
• • Data model defines how data is stored and
structured
• • Tables, EDTs, Enums are core building blocks
• • Metadata-driven and tightly integrated with
AOT
Creating Tables in AOT
• • Tables define schema for storing records
• • Add fields, indexes, and relations
• • Set properties like Table Type, Primary Index,
Cache Lookup
• • Tables generate physical database tables
Extended Data Types (EDTs)
• • Reusable definitions for data types
• • Can include labels, help text, string size, etc.
• • Inherit or customize base data types
• • Improves consistency and maintainability
Base Enums
• • Used for dropdown lists and option fields
• • Each value has a name, label, and integer
value
• • Can be used in tables, forms, and logic
• • Improves data quality with controlled values
Table Relations
• • Define how tables are linked (foreign keys)
• • Use Normal, Related Field, or Field Fixed
relations
• • Help in lookup creation and referential
integrity
• • Visible in table properties and on forms
Best Practices in Data Modeling
• • Use EDTs for all fields instead of raw types
• • Avoid duplication by reusing existing objects
• • Always define relationships and indexes
• • Use meaningful names and documentation
Conclusion – Data Model
Development
• • Strong data model is key to stable
applications
• • Use AOT to create and manage all objects
• • Learn to design scalable, reusable data
structures
• • Next: Building forms to interact with this
data