Book Image

Microsoft Dynamics 365 Business Central Cookbook

By : Michael Glue
Book Image

Microsoft Dynamics 365 Business Central Cookbook

By: Michael Glue

Overview of this book

Microsoft Dynamics 365 Business Central is a complete business management solution that can help you streamline business processes, connect individual departments in your company, and enhance customer interactions. Ok. That first part was really professional sounding, right? Now, let’s get into what this cookbook is going to do for you: put simply, it’s going to help you get things done. This book will help you get to grips with the latest development features and tools for building applications using Business Central. You’ll find recipes that will guide you in developing and testing applications that can be deployed to the cloud or on-premises. For the old-schoolers out there, you’ll also learn how to take your existing Dynamics NAV customizations and move them to the new AL language platform. Also, if you haven’t figured it out already, we’re going to be using very normal language throughout the book to keep things light. After all, developing applications is fun, so why not have fun learning as well!
Table of Contents (11 chapters)

Enums

A typical field type used in Dynamics NAV and Business Central development is the option field. While you can define multiple option values for a field, those values are stored within a static string that you cannot modify using a Business Central application. This eliminates any possibility of adding new option values, or changing any of the existing ones.

In AL, there is a new field type called enum, or the enumeration type, for those who have developed in other languages. Enums bring with them the ability to extend the list of available values that they contain.

This recipe will show you how to create an enum object and link it to a field in a table.

Getting ready

We will continue to build on the alExtensibleAppProject...