Management codeunits

There are over 150 codeunits with the word Management (or the abbreviation Mgt) as part of their description name (filter the Codeunit Names using *Management*|*Mgt* - don't forget that such a filter is case sensitive). Each of these codeunits contains functions whose purpose is the management of some specific aspect of NAV data. Many are specific to a very narrow range of data. Some are more general because they contain functions we can reuse in another application area (for example, Codeunit 396 - NoSeriesManagement).

When we are working on an enhancement in a particular functional area, it is extremely important to check the Management codeunits utilized in that area. We may be able to use some existing standard functions directly. This will have the benefit of reducing the code we have to create and debug. Of course, when a new version is released, we will have to check to see if the functions on which we relied have changed in a way that affects our code.

If we can't use the existing material as is, we may find functions we can use as models for tasks in the area of our enhancement. And, even if that is not true, by researching and studying the existing code, you will learn more about how data is structured and process flow in the standard NAV system.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset