Introduction
Each object type in Dynamics NAV has a designer associated with it. So far, we dealt with only one type - codeunit designer where you could write C/AL code. But different tasks, such as describing a table structure or designing a user interface in pages, require different tools. In this chapter we will have a closer look at all types of object designers presented in NAV development environment.
To make all the examples consistent, recipes in this chapter are presented in a form of a small add-on, each recipe expanding its functionality. We will see how to create a data model, present data in pages, move common code into codeunits, and create custom menus and a role center for the add-on.
Examples will be centered around a fictitious company selling goods that require a quality certificate to be sold. We will create a solution to store certificates, keep track of their validity, and block sales documents posting for items with an expired or invalid certificate.