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)

Running XMLports from C/AL code

Although an XMLport can be called from a user menu and present its own request page to set up parameter, often it proves useful to invoke the import or export routine directly from the application code. This provides more flexibility to the object functionality and allows the developer to control data exchange at a deeper level.

For example, running an XMLport as a C/AL variable allows you to do the following:

  • Replace the standard file open dialog with a different one, or exclude it and generate a filename without requiring the user to enter it
  • Set predefined filters on data items and control table records being imported or exported
  • Import from and export to any Stream object, not necessarily a file stream

Exporting data from a C/AL function

...