Book Image

Programming Microsoft Dynamics NAV - Fifth Edition

By : Marije Brummel, David Studebaker, Christopher D. Studebaker
Book Image

Programming Microsoft Dynamics NAV - Fifth Edition

By: Marije Brummel, David Studebaker, Christopher D. Studebaker

Overview of this book

Microsoft Dynamics NAV is a full business solution suite, and a complete ERP solution that contains a robust set of development tools to support customization and enhancement. These tools provide greater control over financials and can simplify supply chain, manufacturing, and operations. This book will take you from an introduction to Dynamics NAV and its integrated development tools to being a productive developer in the Dynamics NAV Development Environment. You will find this book very useful if you want to evaluate the product's development capabilities or need to manage Dynamics NAV based projects. It will teach you about the NAV application structure, the C/SIDE development environment, the C/AL language paired with the improved editor, the construction and uses of each object type, and how it all fits together to build universal applications. With this new edition, you will be able to understand how to design and develop using Patterns and new features such as Extensions and Events.
Table of Contents (10 chapters)

What this book covers

Chapter 1,  Introduction to NAV 2017 , starts with an overview of NAV as a business application system, which is followed by an introduction to the seven types of NAV objects, and the basics of C/AL and C/SIDE. Then, we will do some hands-on work, defining Tables, multiple Page types, and a Report. We’ll close with a brief discussion of how backups and documentations are handled in C/SIDE.

Chapter 2, Tables, focuses on the foundation level of NAV data structure: Tables and their structures. We will cover Properties, Triggers (where C/AL resides), Field Groups, Table Relations, and SumIndexFields. We’ll work our way through hands-on creation of several tables in support of our example application. We will also review the types of tables found in the NAV applications.

Chapter 3, Data Types and Fieldsteaches you about fields, the basic building blocks of NAV data structure. We will review the different Data Types in NAV and cover all the field properties and triggers in detail, as well as review the three different Field Classes. We’ll conclude with a discussion about the concept of filtering and how it should be considered in database structure design.

Chapter 4, Pages - the Interactive Interfacereviews the different types of pages, their structures (Triggers, Properties), and general usage. We’ll build several pages for our example application using the Page Wizard and Page Designer. We will also study the different types of controls that can be used in pages. In addition, we’ll review how and where actions are added to pages.

Chapter 5, Queries and Reports, teaches you about both Queries and Reports--two methods of extracting data for presentation to users. For Queries, we will study how they are constructed and some of the ways they are utilized. For Reports, we will walk through report data flow and the variety of different report types. We will study the two Report Designers, the C/SIDE Report Designer and the Visual Studio Report Designer and how a NAV report is constructed using both of these. We’ll learn what aspects of reports use one designer and what aspects use the other. As in previously studied objects, we will discuss Properties and Triggers. We will review how reports can be made interactive and will do some hands-on report creation.

Chapter 6, Introduction to C/SIDE and C/AL, explains general Object Designer Navigation as well as the individual Designers (Table, Page, Report). We’ll study C/AL code construction, syntax, variable types, expressions, operators, and functions. We will then take a closer look at some of the more frequently used built-in functions. This chapter will wrap up with an exercise adding some C/AL code to a report objects created in an earlier exercise.

Chapter 7, Intermediate C/ALdigs deeper into C/AL development tools and techniques. We will review some more advanced built-in functions, including those relating to dates and decimal calculations, both critical business application tools. We’ll study C/AL functions that support process flow control functions, input/output, and filtering. Then, we’ll do a review of methods of communication between objects. Finally, we’ll apply some of what we’ve learned to enhance our example application.

Chapter 8,  Advanced NAV Development Toolsreviews some of the more important elements of the Role Tailored User Experience; in particular, the Role Center Page construction. We will dig into the components of a Role Center Page and how to build one. We’ll also cover two of the powerful ways of connecting NAV applications to the world outside of NAV, XMLports, and Web Services. To better understand these, we will not only review their individual component parts, but we will go through the hands-on effort of building an example of each one.

Chapter 9, Successful Conclusionsgives you a detailed study of how NAV functions are constructed and teaches you how to construct your own functions. We will learn more about tools and features built into C/AL and C/SIDE. We will study the new debugger, review the support for Test-Driven Development, and take a look at the ability to integrate .NET Client Add-ins and integrate a .NET Add-in into our example applications. Finally, we will review tips for design efficiency, updating, and upgrading the system, all with the goal of helping us become more productive, high quality NAV developers.