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)

XMLport triggers

As with most other C/SIDE objects, XMLports provide a set of triggers that can be customized with C/AL code. Most of these triggers are related to import and export events and provide the possibility to control the data flow in the middle of its migration from an external source to NAV tables, or vice versa.

This section will give you an overview of the most important and frequently used XMLport triggers, with some suggestions on how to use these triggers in your application.

Earlier in this chapter, we configured the primary key field of the Customer Payment table to receive new values automatically upon inserting a record. This approach slightly simplifies application code, but it has its drawback: it does not allow the NAV server to use a performance optimization known as buffered insert. With the Allow Buffered Insert option enabled, the NAV server can combine...