Summary
In this chapter, we looked at the fundamentals of extension development with AL, along with an overview of the main objects for creating applications (tables, table extensions, pages, codeunits, and so on) and how to create them with Visual Studio Code.
It is important to always keep in mind the best practices when using these objects to build extensions. If you do not consider the organization of your project – the object IDs and naming conventions – then things will quickly get out of hand.
Supplementing this, always keep the guidelines for writing better code in the back of your mind. Format your code, keep your .al
files clean, and focus on extensibility by adding event subscribers in advance to your code.
All in all, we learned how to create objects, how to create an AL project, how to handle its structure, and how to stick to naming conventions with objects.
In the next chapter, we will implement a real-word extension for Dynamics 365 Business...