Book Image

Dynamics 365 Business Central Development Quick Start Guide

By : Stefano Demiliani, Duilio Tacconi
Book Image

Dynamics 365 Business Central Development Quick Start Guide

By: Stefano Demiliani, Duilio Tacconi

Overview of this book

Microsoft Dynamics 365 Business Central is the new SaaS ERP proposition from Microsoft. This latest version has many exciting features guaranteed to make your life easier. This book is an ideal guide to Dynamics 365 Business Central and will help you get started with implementing and designing solutions for real-world scenarios. This book will take you through the fundamental topics for implementing solutions based on Dynamics 365 Business Central (on-premise and SaaS). We'll see the core topics of the new development model (based on extensions) and we'll see how to create applications with the new Microsoft ERP proposition. The book begins by explaining the basics of Dynamics 365 Business Central and the Microsoft ERP proposition. We will then cover topics such as extensions, the new modern development model of Visual studio code, sandboxes, Docker, and many others. By the end of the book, you will have learned how to debug and compile extensions and to deploy them to the cloud and on-premise.You will also have learned how to create serverless business processes for Microsoft Dynamics 365 Business Central.
Table of Contents (13 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Extension dependency


When developing extensions for Dynamics 365 Business Central, an important architectural aspect when planning for a solution is the extension's dependency.

Imagine you have developed and published extension A into your Dynamics 365 Business Central. Extension A adds new tables and pages and extends standard tables and pages. Now you need to create extension B (to handle another set of isolated functionalities), and extension B must interact with tables and fields added from extension A.

If you start developing extension B and try to reference a table defined in extension A, you will receive an error (table is missing because you don't have the symbols from extension A).

Extension B can see entities defined in extension A only if it declares that it depends on extension A.

To see this concept in action, let's create a very simple extension (new project with Visual Studio Code and AL:Go!) for adding a new action button to the Customer Category List page.

The core part here...