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)

Conditional breakpoints

A conditional breakpoint is a breakpoint with a conditional expression assigned to it. The expression value is evaluated every time the debugger reaches the breakpoint. The debugger breaks code execution on a conditional breakpoint only when its expression is evaluated to true.

To set a conditional breakpoint and break code execution at that point, perform the following steps:

  1. Open the 50502 Quarterly Payment report in the report designer, then activate the C/AL code editor
  2. Set a breakpoint inside the REPEAT .. UNTIL loop
  3. Save the report, activate the debugger, and run the report
  4. When the debugger breaks on the breakpoint you set, push the Set/Clear Condition button
  5. Enter the break condition, for example, Customer."No." = '20000'

With the condition described here, the execution will break on the breakpoint when the customer record...