In Dynamics AX, various business operations, such as creating financial journals, posting sales orders, and generating vendor payments are performed from the user interface by the user on a periodic basis. For developers, it is very important to understand how it works internally so that the knowledge can be used to design and implement new custom business logic.
This chapter will explain how various Dynamics AX business operations can be performed from the code. We will discuss how to create and post various journals. This chapter also explains how to work with the ledger voucher object and how to enhance the setup of the automatically generated transaction texts. Posting purchase and sales orders, and creating electronic payments are also discussed here.