Book description
Develop customized business management solutions with the latest features of Microsoft Dynamics 365 Business Central
Key Features
- Learn Dynamics 365 Business Central, the next generation of Dynamics NAV
- Explore advanced topics for handling complex integrations such as using APIs, OData, and Azure Functions
- Discover best practices for developing SaaS extensions and moving existing solutions to the cloud
Book Description
Dynamics 365 Business Central is an all-in-one business management solution, which is easy to adopt and helps you make smarter business decisions. This book is a comprehensive guide to developing solutions with Microsoft ERP (in the cloud and also on-premises). It covers all aspects of developing extensions, right from preparing a sandbox environment to deploying a complete solution.
The book starts by introducing you to the Dynamics 365 Business Central platform and the new Modern Development Environment. You'll then explore the sandbox concept, and see how to create sandboxes for development. As you advance, you’ll be able to build a complete advanced solution for Dynamics 365 Business Central with AL language and Visual Studio Code. You'll then learn how to debug and deploy the extension and write automatic testing. The book will also take you through advanced topics like integration (with Azure Functions, web services, and APIs), DevOps and CI/CD techniques, and machine learning. You'll discover how Dynamics 365 Business Central can be used with Office 365 apps. Finally, you'll analyze different ways to move existing solutions to the new development model based on extensions.
By the end of this book, you'll be able to develop highly customized solutions that meet the requirements of modern businesses using Dynamics 365 Business Central.
What you will learn
- Create a sandbox environment with Dynamics 365 Business Central
- Handle source control management when developing solutions
- Explore extension testing, debugging, and deployment
- Create real-world business processes using Business Central and different Azure services
- Integrate Business Central with external applications
- Apply DevOps and CI/CD to development projects
- Move existing solutions to the new extension-based architecture
Who this book is for
If you're a new developer looking to get started with Dynamics 365 Business Central, this book is for you. This book will also help experienced professionals enhance their knowledge and understanding of Dynamics 365 Business Central.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: Dynamics 365 Business Central - Platform Overview and the Basics of Modern Development
- Microsoft Dynamics 365 Business Central Overview
- Mastering a Modern Development Environment
-
Online and Container-Based Sandboxes
- Creating online sandboxes
- Introducing Docker
- Locally available environments using pure Docker commands
- Connecting to an existing SQL Server
- Handling your running containers with Docker cmdlets
- Creating locally available environments using navcontainerhelper
- Pulling new image versions
- Handling your running containers with NavContainerHelper
- Centrally available on-premise environments
- Containers hosted on Azure VMs
- Choosing the right image
- Summary
- Section 2: Developing Extensions for Dynamics 365 Business Central
- Extension Development Fundamentals
- Developing a Customized Solution for Dynamics 365 Business Central
-
Advanced AL Development
- Understanding immutable keys
- Handling files with AL
- Handling attachments
- Reading and writing text data to and from BLOB fields
- Using XMLports in AL code
- Creating and extending Role Centers
- Handling XML and JSON files with the AL language
- Consuming web services and APIs from AL
- Publishing Dynamics 365 Business Central objects as web services from AL
- Using Azure Functions to replace .NET code
- Understanding Isolated Storage
- Working with control add-ins
- Notifications inside Dynamics 365 Business Central
- Understanding page background tasks
- Summary
-
Report Development with AL
- Anatomy of the AL report object
- Tools to use for Word and RDL layouts
- Converting an existing C/AL report into AL
- Feature limitation when developing an RDL or Word layout report
- Understanding report performance considerations
- Summary
- Section 3: Debugging, Testing, and Release Management (DevOps)
- Installing and Upgrading Extensions
- Debugging
-
Automated Test Development with AL
- Test automation and testing design principles
- Designing tests with ATDD
- Preparing the environment
- Setting up test development for extensions
- Learning about the technique behind test code
- Designing our test scenarios
-
Implementing our test scenarios
- Test codeunit and test function – test example 1
- asserterror – test example 2
- Test page – test example 3
-
UI handler – test example 4
- Creating a test codeunit
- Embedding and writing
-
Constructing the real code
- CreatePacktSetupWithGiftToleranceQty
- The CreateCustomerWithNonBlockedCustomerCategoryWithFreeGiftsAvailable helper function
- CreateItem
- CreateGiftCampaignForItemAndCustomerCategoryWithMinimumOrderQuantity
- CreateSalesInvoiceForCustomerWithLineForItem
- SetQuantityOnInvoiceLineSmallerThanMinimumOrderQuantityAndWithinGiftToleranceQty
- Running the test
- Summary
-
Source Control Management and DevOps with Business Central
- Understanding Azure DevOps and what it offers
- Managing tasks, sprints, and boards in Azure DevOps
- Creating a repository for your code
- Managing repositories
- Branching policies
- Branching strategies
- Understanding Git merge strategies
- Exploring Git with Visual Studio Code
- Understanding Azure DevOps Pipelines
- Understanding the YAML pipeline
- Summary
- Section 4: Advanced Integrations with Dynamics 365 Business Central
-
Dynamics 365 Business Central APIs
- Comparing OData and APIs in Dynamics 365 Business Central
- Using Dynamics 365 Business Central standard APIs
- Creating a custom API in Dynamics 365 Business Central
- Creating an application that uses Dynamics 365 Business Central APIs
- Using bound actions
- Using Dynamics 365 Business Central webhooks
- Working with Dynamics 365 Business Central APIs in Microsoft Graph
- Automation APIs in Dynamics 365 Business Central
- Summary
-
Serverless Business Processes with Business Central and Azure
- Technical requirements
- Overview of Microsoft Azure serverless services
- Getting an overview of Azure Functions
- Developing an Azure function with Visual Studio
- Developing an Azure function with Visual Studio Code
- Calling an Azure function from AL
- Interacting with Azure Blob Storage to handle files in the cloud
- Summary
- Monitoring, Scaling, and CI/CD with Azure Functions
- Business Central and Integration with the Power Platform
- Section 5: Moving Solutions to the New Extension Model
- Integrating Machine Learning into Dynamics 365 Business Central
- Moving Existing ISV Solutions to the New Extension Model
- Useful and Proficient Tools for AL Developers
- Other Books You May Enjoy
Product information
- Title: Mastering Microsoft Dynamics 365 Business Central
- Author(s):
- Release date: December 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789951257
You might also like
book
Mastering Microsoft Dynamics 365 Business Central - Second Edition
Utilize Microsoft Dynamics 365 Business Central's most recent capabilities to create bespoke business management solutions using …
book
Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition
Implement Business Central and explore methods to upgrade to NAV 2018 Key Features Learn the key …
book
Administrating Microsoft Dynamics 365 Business Central Online
A hands-on guide to learning Dynamics 365 Business Central Admin Center to manage SaaS environments and …
book
Microsoft Dynamics 365 Business Central Cookbook
Gain useful insights to help you efficiently build, test, and migrate customized solutions on Business Central …