The posting process
The posting process is the most important process in 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 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's codeunits structure. The first example is posting codeunits for sales documents. In the second example, we will see posting's codeunits for General Journal lines.