Book Image

Microsoft Dynamics NAV Development Quick Start Guide

By : Alexander Drogin
Book Image

Microsoft Dynamics NAV Development Quick Start Guide

By: Alexander Drogin

Overview of this book

Microsoft Dynamics NAV is an enterprise resource planning (ERP) software suite for organizations. The system offers specialized functionality for manufacturing, distribution, government, retail, and other industries. This book gets you started with its integrated development environment for solving problems by customizing business processes. This book introduces the NAV development environment – C/SIDE. It gives an overview of the internal system language and the most essential development tools. The book will enable the reader to customize and extend NAV functionality with C/AL code, design a user interface through pages, create role centers, and build advanced reports in Microsoft Visual Studio. By the end of the book, you will have learned how to extend the NAV data model, how to write and debug custom code, and how to exchange data with external applications.
Table of Contents (10 chapters)

Variables – Watches – Callstack

The ability to break code execution at a certain point does not help in finding bugs by itself. Breakpoints are one tool in the developer's toolbox when it comes to code analysis. When the code flow is on pause, it is time to take a closer look at the state of the application. And two important tools that allow you to look deeper into the application are Variables and Watches.

Let's see what information we can get from these windows. Once again, we are going to use the 50502 Quarterly Payments report as an example. Run the report and pause its execution on the CollectCustomerPaymentsBuffer function, as explained in the Activating breakpoints section. Now, you can review all variables in this function's visibility—global variables of the report object and local declarations in the function. Push the Variables...