Programming Microsoft Dynamics NAV - Fifth Edition
by Marije Brummel, David Studebaker, Christopher D. Studebaker
Modifiable functions
In addition to the prewritten language component functions, there are a large number of prewritten application component functions. The difference between the two types is that the code implementing the latter is visible and modifiable, though we should be extremely cautious about making such modifications.
An example of an application component function might be one to handle the task of processing a Customer's Shipping Address to eliminate empty lines and standardize the layout based on user-defined setup parameters. Such a function would logically be placed in a Codeunit and thus made available to any routine that needs this capability.
In fact, this function exists. It is called SalesHeaderShipTo and is located in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access