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)

Importing data from CSV files

CSV is the simplest way of presenting structured data. It is a text file where each line represents a table record, and record fields are separated with a comma—hence the name CSV. The data file is very compact: it does not carry any markup data except field delimiters, and the format is easily mapped to relational databases where tables are native data storage.

Although a comma is the default field separator in NAV XMLports, it is actually defined by object properties and can be changed, which turns the file into a DSV instead of a native CSV. Now, we will create an XMLport for importing customer payment data from an external text file with a semicolon as a field delimiter.

In the next example, we need to extend the customer payment table and add new fields to it, as follows:

Field No. Field Name Data Type Length
7 Journal Line Posted...