Book Image

Microsoft Dynamics NAV 2013 Application Design - Second Edition

By : Marije Brummel
Book Image

Microsoft Dynamics NAV 2013 Application Design - Second Edition

By: Marije Brummel

Overview of this book

This book is a focused tutorial on Microsoft Dynamics NAV application development to help you develop complete applications and not just application outlines. This hands-on guide starts off by introducing the supply chain that you will be using throughout the book. You will then implement the Microsoft Dynamics NAV ERP suite and learn to set it up and customize it for various industries. You will learn how to customize Dynamics NAV to suit the different aspects of a business such as financial management, relationship management, production, jobs, trade, storage, logistics, and so on. The book will take you through these Microsoft-designed application features and show you how to customize and extend them safely. Therefore, by the end of this book, you will be able to create a structure of your own in Microsoft Dynamics NAV.
Table of Contents (12 chapters)

The posting process

Our journal is now ready to be posted. We've implemented all business logic, except the posting code.

The posting process of a journal in Microsoft Dynamics NAV has several codeunits for the structure:

  • Jnl.-Check Line: This codeunit checks if the journal line is valid for posting.
  • Jnl.-Post Line: This codeunit does the actual creation of the ledger entry and register tables and calls other Jnl.-Post Line codeunits if necessary to provide the transaction structure in Chapter 1, Introduction to Microsoft Dynamics NAV.
  • Jnl.-Post Batch: This codeunit loops though all journal lines in a journal batch and posts all the lines.
  • Jnl.-Post: This is the codeunit that is called from the page. It calls the Jnl.-Post Batch codeunit and takes care of some user messaging.
  • Jnl.-Post+Print: This is the codeunit that is called when you click on Post + Print. It does the same as the Jnl.-Post codeunit but with the additional printing of a report...