Book Image

Building ERP Solutions with Microsoft Dynamics NAV

By : Stefano Demiliani
Book Image

Building ERP Solutions with Microsoft Dynamics NAV

By: Stefano Demiliani

Overview of this book

Implementing Microsoft Dynamics NAV in the real world often requires you to integrate the ERP with external applications or solve complex architectural tasks in order to have a final successful project. This book will show you how to extend a Microsoft Dynamics NAV installation to the enterprise world in a practical way. The book starts with an introduction to Microsoft Dynamics NAV architecture and then moves on to advanced topics related to implementing real-world solutions based on NAV and external applications. You will learn how an enterprise distributed architecture with NAV at the core can be implemented. Through a series of real-world cases on every topic and every industry (sales, retail, manufacturing, distribution, healthcare, and so on), you’ll see step by step how to efficiently solve a technical problem. These common problems encountered in a NAV implementation will be solved using the entire technology stack that Microsoft offers. By the end of the book, you will have the knowledge to efficiently solve certain scenarios, you will know which is the best solution architecture to propose to a customer and how to implement it.
Table of Contents (17 chapters)
Building ERP Solutions with Microsoft Dynamics NAV
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Control add-in implementation


Let's create a control add-in by performing the following steps:

  1. To create a Windows client NAV control add-in, open Visual Studio and navigate to New | Project….

  2. On the New Project window, under Installed navigate to Visual C# Class Library:

  3. Give an appropriate name to your solution and click OK. Visual Studio creates an empty class project.

  4. To start the add-in creation, we have to add reference to some .NET assemblies. In the Solution Explorer pane, right-click on References and select Add Reference…. In the Reference Manager window, navigate to Assemblies | Framework and select the following assemblies:

    • System.Drawing: This is used to draw on our UI

    • System.Windows.Forms: This is used for creating a UI on Windows devices:

  5. We also need to add a reference to the Microsoft Dynamics NAV Extensibility Framework DLL, which is located in the C:\Program Files (x86)\Microsoft Dynamics NAV\<NAVVersionNumber>\RoleTailored Client folder, where <NAVVersionNumber...