Reader small image

You're reading from  Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition

Product typeBook
Published inAug 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781786468864
Edition4th Edition
Languages
Right arrow
Authors (2):
Abhimanyu Singh
Abhimanyu Singh
author image
Abhimanyu Singh

Abhimanyu Singh works as a Microsoft Dynamics 365 for Finance and Operations consultant. Since the start of his career in 2012, he has worked in the development and designing of business solutions for customers in supply chain management, banking, and finance domain using Microsoft technologies. He has several certifications, including the Microsoft Certified Dynamics Specialist certification.
Read more about Abhimanyu Singh

Deepak Agarwal
Deepak Agarwal
author image
Deepak Agarwal

Deepak Agarwal is a Microsoft Certified Professional who has more than 6 years of relevant experience. He has worked with different versions of Axapta, such as AX 2009, AX 2012, and Dynamics 365. He has had a wide range of development, consulting, and leading roles, while always maintaining a significant role as a business application developer. Although his strengths are rooted in X++ development, he is a highly regarded developer and expert in the technical aspects of Dynamics AX development and customization. He has also worked on base product development with the Microsoft team. He was awarded the Most Valuable Professional (MVP) award from Microsoft for Dynamics AX four times in a row, and he has held this title since 2013. He shares his experience with Dynamics AX on his blog: Axapta V/s Me Deepak has also worked on the following Packt books: Microsoft Dynamics AX 2012 R3 Reporting Cookbook Dynamics AX 2012 Reporting Cookbook Microsoft Dynamics AX 2012 Programming: Getting Started
Read more about Deepak Agarwal

View More author details
Right arrow

Creating and posting a ledger voucher


In Dynamics 365 for Finance and Operations, all the financial transactions, regardless of where they are originated, end up in the General ledger module. When it comes to customized functionality, developers should use the Dynamics 365 APIs to create the required system entries. No transactions can be created directly in the tables, as this may affect the accuracy of financial data.

In order to ensure data consistency, the system provides numerous APIs for developers to use. One of them is ledger voucher processing. This allows you to post a financial voucher in the General ledger module. Vouchers in Dynamics 365 for Finance and Operations are balanced financial entries that represent a single operation. They include two or more ledger transactions. The ledger voucher API ensures that all the mandatory fields, such as voucher numbers, ledger accounts, offset account, financial dimensions, balances, and others, are filled and valid.

In this recipe, we will...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition
Published in: Aug 2017Publisher: PacktISBN-13: 9781786468864

Authors (2)

author image
Abhimanyu Singh

Abhimanyu Singh works as a Microsoft Dynamics 365 for Finance and Operations consultant. Since the start of his career in 2012, he has worked in the development and designing of business solutions for customers in supply chain management, banking, and finance domain using Microsoft technologies. He has several certifications, including the Microsoft Certified Dynamics Specialist certification.
Read more about Abhimanyu Singh

author image
Deepak Agarwal

Deepak Agarwal is a Microsoft Certified Professional who has more than 6 years of relevant experience. He has worked with different versions of Axapta, such as AX 2009, AX 2012, and Dynamics 365. He has had a wide range of development, consulting, and leading roles, while always maintaining a significant role as a business application developer. Although his strengths are rooted in X++ development, he is a highly regarded developer and expert in the technical aspects of Dynamics AX development and customization. He has also worked on base product development with the Microsoft team. He was awarded the Most Valuable Professional (MVP) award from Microsoft for Dynamics AX four times in a row, and he has held this title since 2013. He shares his experience with Dynamics AX on his blog: Axapta V/s Me Deepak has also worked on the following Packt books: Microsoft Dynamics AX 2012 R3 Reporting Cookbook Dynamics AX 2012 Reporting Cookbook Microsoft Dynamics AX 2012 Programming: Getting Started
Read more about Deepak Agarwal