Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Microsoft Dynamics 365 Business Central
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Microsoft Dynamics 365 Business Central

Mastering Microsoft Dynamics 365 Business Central

By : Stefano Demiliani, Tacconi
4.9 (17)
close
close
Mastering Microsoft Dynamics 365 Business Central

Mastering Microsoft Dynamics 365 Business Central

4.9 (17)
By: Stefano Demiliani, 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)
close
close
19
Other Books You May Enjoy
20
Index

Working on AL coding guidelines

When creating your AL project (and your .al files), remember to always follow these main guidelines.

Inside an .al code file, the structure for all your objects must follow this sequence:

  • Properties
  • Object-specific constructs:
    • Table fields
    • Page layout
    • Actions
  • Global variables:
    • Labels (old text constants)
    • Global variables
  • Triggers
  • Methods

Remember to always reference the AL objects by their object name and not by their ID. So, for example, this is how you reference a Record variable or a Page variable:

Vendor: Record Vendor;
Page.RunModal(Page::"Customer Card", ...);

In an event subscriber object, this is how you should reference the publisher object:

[EventSubscriber(ObjectType::Codeunit, Codeunit::MyCodeunit, 'MyIntegrationEvent', '', false, false)]
local procedure MyIntegrationEventSubscriber...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY