Book Image

Extending Microsoft Dynamics NAV 2016 Cookbook

By : Alexander Drogin
Book Image

Extending Microsoft Dynamics NAV 2016 Cookbook

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. Its integrated development environment enables customizations with minimal disruption to business processes. The book starts explaining the new features of Dynamics NAV along with how to create and modify a simple module. Moving on, you will learn the importance of thinking beyond the boundaries of C/AL development and the possibilities opened by with it. Next, you will get to know how COM can be used to extend the functionalities of Dynamics NAV. You’ll find out how to extend the Dynamics NAV 2016 version using .NET interoperability and will see the steps required to subscribe to .NET events in order to extend Dynamics NAV. Finally, you’ll see the cmdlets available to manage extension packages. By the end of the book, you will have the knowledge needed to become more efficient in selecting the extending methods, developing and deploying them to the Dynamics NAV, and practicing the best practices.
Table of Contents (17 chapters)
Extending Microsoft Dynamics NAV 2016 Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Implementing a user interface with pages


The foundation of the user interface in Dynamics NAV, is the Page object. Pages can be used to represent table data, receive user input, and exhibit actions buttons.

C/AL code can be executed in pages to format data and process data received from the input.

How to do it...

In this recipe, we will implement the user interface based on pages, and write C/AL code formatting data in the page.

  1. In the object designer, select Page in the object types list and Click on New -- this action button will open the page designer.

  2. In the Table field of the page wizard, select table 50010 Item Certificate as the source table for the page, or just enter its name or ID manually.

  3. Chose Create a page using wizard option and select Card in the list of page types. Click OK:

  4. Next step in the wizard will suggest you to create FastTabs on the page. Leave one tab named General, as per the default setup, then click Next.

  5. In the next step, we select table fields that will be presented...