Introduction
In Dynamics 365 for Finance and Operations, various business operations, such as creating financial journals, posting sales orders, and generating vendor payments are performed from the user interface by users on a periodic basis. For developers, it is very important to understand how it works internally in new Dynamics 365 for Finance and Operations so that the logic can be used to design and implement new customized business logic.
This chapter will explain how various Dynamics 365 business operations can be performed through the code. We will discuss how to perform different operations on various journals, sales order, purchase orders, and so on. 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 changing business document layout per company are also discussed here. This chapter includes other features, such as creating a new electronic payment...