Understanding AL project structure best practices

As we mentioned previously, an AL project is file-based. You have all your .al files inside a project folder. The main problem that you encounter when you start working with a complex project is how to structure the project. How do we organize the objects and the .al files?

There's no written rule for this topic. What we wholeheartedly suggest is to avoid having all the objects (.al files) at the project root level, as shown in the following screenshot:

Here, none of the objects are organized, and if you have a large number of objects, your object list will grow a lot, causing difficulties ...

Get Mastering Microsoft Dynamics 365 Business Central now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.