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)

Exchanging Data with XML Ports

It is hard to imagine a corporate information system that does not exchange data with external databases. Bank payments and reconciliation statements, tax reports, application configuration—information goes in and out of the system. Data exchange can be implemented in different formats, but the de facto standard of data exchange is XML, which also has native support in NAV.

C/SIDE offers a special type of object for importing and exporting XML data: XMLport. Besides XML, XMLports can transfer data in simple delimiter-separated format, comma-separated values (CSV), or delimiter-separated values (DSV). Throughout this chapter, we will be developing objects for data exchange in different formats. The chapter will cover the following topics:

  • Importing data from CSV files
  • Importing data from XML files
  • XMLport triggers
  • Exporting table data
  • Designing...