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)

Table relations

Table lookups are everywhere in NAV. You create a sales order and select a customer from a list of all customers in the system. When you add a line to the order, you use lookups to choose an item, location, and item unit of measure. Any time you select a value from a lookup list, most likely there is a table relation behind this selection.

The following example shows how to set up a table relation for the Customer No. field in the Lease Contract Header table. This configuration will enable page lookup functionality and help the user easily select a customer from a contract:

  1. Open the 50500 Lease Contract Header table, in the table designer.
  2. Select the Customer No. field and navigate to its properties (View | Properties).
  3. Enter the table name, Customer, in the TableRelation property. The table ID can be used instead of the name; it does not matter whether you enter...