The posting process
The posting process is the most important process in Microsoft Dynamics NAV. It commits the data entered by the users into the financial ledgers. There are a few different posting processes; however, they all follow the same structure. The posting process runs through a lot of code from a lot of functions. In fact, many functions are executed many times. This section does not cover the posting process in depth; instead, it shows the overview of the codeunits and how they are structured.
There are several posting routines, one for each journal table and one for each group of documents. All posting routines use more than one codeunit. In Microsoft Dynamics NAV, you can find more than 80 codeunits with the word post in their description. That's quite a few!
Let's see a couple of examples of the posting codeunits' structure. The first example is the posting codeunits for sales documents. In the second example, we will see posting codeunits for General Journal
lines.