Book Image

Mastering Microsoft Dynamics 365 Business Central - Second Edition

By : Stefano Demiliani, Duilio Tacconi
5 (3)
Book Image

Mastering Microsoft Dynamics 365 Business Central - Second Edition

5 (3)
By: Stefano Demiliani, Duilio Tacconi

Overview of this book

This book dives straight into guiding you through the process of building real-world solutions with the AL language and Visual Studio Code. It emphasizes best practices and extensibility patterns to ensure your extensions are well-structured, maintainable, and meet the needs of modern businesses. You'll learn advanced AL techniques, report creation methods, debugging strategies, and how to leverage telemetries for monitoring. Additionally, it covers performance optimization practices and API integration to help you create efficient and interconnected solutions. With a focus on extension development, this new edition allows you to jump right into coding without spending time on setup processes. This book introduces new chapters covering essential tasks that Business Central developers frequently encounter, such as file handling and printing management. Finally, the book expands its scope by including chapters on various integration aspects, including VS Code extensions, GitHub DevOps, Azure services, and Power Platform integrations. We’ll wrap up by covering Copilot capabilities in Business Central and how you can create your own generative AI copilots. By mastering these concepts and techniques, you'll be well-equipped to create powerful and customized solutions that extend the capabilities of Dynamics 365 Business Central.
Table of Contents (21 chapters)
19
Other Books You May Enjoy
20
Index

To get the most out of this book

To follow along with the topics and projects in this book, you will need to set up Dynamics 365 Business Central and Visual Studio Code:

  • Dynamics 365 Business Central: This software is available as a SaaS service, so a registration on https://businesscentral.dynamics.com is required.
  • Visual Studio Code: You can download Visual Studio Code for free from https://code.visualstudio.com/ and install it from the VS Code marketplace. Then, additionally install the AL Language extension.

Note that we will explain all these steps in more detail later in the book.

Download the example code files

The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Mastering-Microsoft-Dynamics-365-Business-Central-Second-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781837630646.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “A permissionset object can be assignable to a user or not.”

A block of code is set as follows:

"features": [
    "TranslationFile"
  ]

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

begin
  dt.SetTables(Database::FromTable, Database::ToTable);
  dt.AddFieldValue(from.FieldNo("SmallCodeField",to.FieldNo("SmallCodeField"));
  dt.AddFieldValue(from.FieldNo("IntField", to.FieldNo("IntField"));
  dt.AddJoinCondition(from.FieldNo("id"), to.FieldNo("id"));
  dt.CopyFields();
end;

Any command-line input or output is written as follows:

setBreakpoints
02/20/2023 12:12:14 [/9] Parsing Report 50111 "Item Ledger Entry Analysis".
02/20/2023 12:12:14 [/9] Process:

Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: “Select System info from the Administration panel.”

Warnings or important notes appear like this.

Tips and tricks appear like this.