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

Sales forecast in Power BI with R


R scripts can do more than simply render statistical plots. They are able, for example, to analyze time series and build a time series prediction based on various models.

Getting ready

Install R from https://cran.r-project.org.

You will also need the forecast R package. To install it, run your R scripting environment (for example, RStudio) and run the following command:

install.packages("forecast") 

How to do it...

For a brief introduction to R prediction capabilities, we will generate a sales forecast from NAV demo data.

  1. Run Power BI and connect to the SQL Server hosting the Dynamics NAV database. Select the table CRONUS International Ltd_$Detailed Cust_ Ledg_ Entry in the Navigator window and choose to edit the query.

  2. In the query editor, click Choose Columns and select three columns for the dataset: Amount (LCY), Document Type, and Posting Date. Select the field Posting Date and change the data type of the column Date/Time to Date.

  3. Apply a filter on the...