My response was crafted with AI assistance, tailored to provide detailed and actionable guidance for your query.
In Microsoft Dynamics 365 Business Central and Finance & Operations, adopting a clear and consistent naming convention for custom tables (and other objects) is crucial for maintainability, clarity, and collaboration.
Microsoft strongly recommends using a unique prefix for all custom objects (tables, pages, codeunits, etc.) to avoid naming conflicts with standard objects, ISV solutions, or future platform updates.
MYCOMP_CustomerData
.
MYCOMP_
.HRM_EmployeeHistory
(for an HR module) or CRM_CustomerEngagement
.FAB_CustomerPortal
for a client "Fabricam".However, avoid overly generic prefixes like CUST_
or CUSTOM_
, as they don't clearly identify the origin or purpose of the object.
Beyond prefixes, table names should clearly describe the purpose or functionality of the table. This improves readability in the database schema, ERD, or AL code.
MYCOMP_Table1
, use something descriptive like MYCOMP_ProjectBudget
.While some vendors use customer names in table names (e.g., FAB_CustomData
), this is generally discouraged unless:
Using functional or purpose-oriented naming is more scalable and avoids cluttering your naming convention with customer-specific information.
Microsoft provides specific naming guidelines for custom tables in Business Central and Finance & Operations:
MYCOMP_OrderTracking
(Prefix + Descriptive Name)
For database models and ERDs:
MYCOMP_
) can be kept concise in ERDs to avoid clutter.Instead of MYCOMP_TableA
, use MYCOMP_InvoicePaymentTracking
.
If the custom solution has the potential to grow or be reused:
Clearly document your chosen naming convention as part of your project or organization's development guidelines. This ensures that all team members and future developers follow the same rules.
By following these guidelines, you’ll create a robust, maintainable, and scalable database model that aligns with Dynamics 365 best practices.
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156