Programming Microsoft Dynamics 365 Business Central
eBook - ePub

Programming Microsoft Dynamics 365 Business Central

Build customized business applications with the latest tools in Dynamics 365 Business Central, 6th Edition

Marije Brummel, David Studebaker, Chris Studebaker

Share book
  1. 536 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Programming Microsoft Dynamics 365 Business Central

Build customized business applications with the latest tools in Dynamics 365 Business Central, 6th Edition

Marije Brummel, David Studebaker, Chris Studebaker

Book details
Book preview
Table of contents
Citations

About This Book

Explore the fundamentals of Dynamics 365 Business Central and the Visual Studio Code development environment with the help of useful examples and case studies

Key Features

  • Tailor your applications to best suit the needs of your business
  • Explore the latest features of Business Central with examples curated by industry experts
  • Integrate Business Central features in your applications with this comprehensive guide

Book Description

Microsoft Dynamics 365 Business Central is a full ERP business solution suite with a robust set of development tools to support customization and enhancement. These tools can be used to tailor Business Central's in-built applications to support complete management functions for finance, supply chain, manufacturing, and operations.

Using a case study approach, this book will introduce you to Dynamics 365 Business Central and Visual Studio Code development tools to help you become a productive Business Central developer. You'll also learn how to evaluate a product's development capabilities and manage Business Central-based development and implementation. You'll explore application structure, the construction of and uses for each object type, and how it all fits together to build apps that meet special business requirements.

By the end of this book, you'll understand how to design and develop high-quality software using the Visual Studio Code development environment, the AL language paired with the improved editor, patterns, and features.

What you will learn

  • Programming using the AL language in the Visual Studio Code development environment
  • Explore functional design and development using AL
  • How to build interactive pages and learn how to extract data for users
  • How to use best practices to design and develop modifications for new functionality integrated with the standard Business Central software
  • Become familiar with deploying the broad range of components available in a Business Central system
  • Create robust, viable systems to address specific business requirements

Who this book is for

If you want to learn about Dynamics 365 Business Central's powerful and extensive built-in development capabilities, this is the book for you. ERP consultants and managers of Business Central development will also find this book helpful. Although you aren't expected to have worked with Dynamics Business Central, basic understanding of programming and familiarity with business application software will help you understand the concepts covered in this book.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Programming Microsoft Dynamics 365 Business Central an online PDF/ePUB?
Yes, you can access Programming Microsoft Dynamics 365 Business Central by Marije Brummel, David Studebaker, Chris Studebaker in PDF and/or ePUB format, as well as other popular books in Business & Business Intelligence. We have over one million books available in our catalogue for you to explore.

Information

Year
2019
ISBN
9781789131031
Edition
6
Pages - The Interactive Interface
"Design is not just what it looks like and feels like. Design is how it works."
ā€“ Steve Jobs
"True interactivity is not about clicking on icons or downloading files, it's about encouraging communication."
ā€“ Ed Scholssberg
Pages are Business Central's object type for interactively presenting information. The page rendering routines that paint the page on the target display handle much of the data presentation details. This allows a variety of clients to be created by Microsoft, such as a web browser resident client, the Windows RTC client, and a universal client that can be used on all devices, such as phones, tablets, and other platforms (iPad, Android, and Windows). Independent Software Vendors (ISVs) have created mobile clients and even clients targeted by devices other than video displays.
One of the benefits of page technology is the focus on the user experience rather than the underlying data structure. As always, the designer/developer has the responsibility of using the tools to their best effect. Another advantage of Business Central pages is the flexibility they provide the user for personalization, allowing them to tailor what is displayed and how it is organized.
In this chapter, we will explore the various types of pages offered by Business Central. We will review many options for format, data access, and tailoring pages. We will also learn about the page designer tools and the inner structures of pages.
We will cover the following topics:
  • Page design and structure overview
  • Types of pages
  • Page designer
  • Page components
  • Page controls
  • Page actions
  • WDTU page enhancement exercises

Page design and structure overview

Pages serve the purpose of input, output, and control. They are views of data or process information designed for onscreen display only. They are also user data entry vehicles.
Pages are made up of various combinations of controls, properties, actions, triggers, and AL code, which are briefly explained here:
  • Controls: These provide the users with ways to view, enter, and edit data; choose options or commands; initiate actions; and view status.
  • Properties: These are attributes or characteristics of an object that define its state, appearance, or value.
  • Actions: These are menu items that may be icons.
  • Triggers: These are predefined functions that are executed when certain actions or events occur.
The internal structure of a page maps to a tree structure, some of which is readily visible in the page designer display while the rest is in the background.

Page design guidelines

Good design practice dictates that enhancements integrate seamlessly with the existing software, unless there is an overwhelming justification for being different. When we add new pages or change existing pages, the changes should have the same look and feel as the original pages, unless the new functionality requires significant differences. This consistency not only makes the user's life easier, it makes support, maintenance, and training more efficient.
There will be instances where we will need to create a significantly different page layout in order to address a special requirement. Maybe we will need to use industry-specific symbols, or we will need to create a screen layout for a special display device. Perhaps, we will create a special dashboard display to report the status of work queues. Even when it will be different, we should continue to be guided by the environment and context in which our new work will operate.

Business Central page structure

Let's take a look at what makes up a typical page in the Business Central web client. The page in the following screenshot includes a list page at its core (the content area):
Here is a brief description of all of these options:
  • The title bar (1) displays page caption and product identification.
  • The company indicator (2) acts as a home button. It allows the user to navigate to the Role Center or to refresh the Role Center depending on where the user is at the moment of using the link:
  • The filter button is where the user controls the filtering to be applied to the page display.
  • If we click on the down-facing arrowheads in the filter button, child menu options will be displayed in a drop-down list, as shown in the following screenshot. The same list of options subordinate to Sales Orders is displayed both in the drop-down menu from the filter button and in the detailed list of options in the navigation pane:
  • The search field (4) allows users to find pages, reports, or views based on the object's name (full or partial):
  • The settings button (5) provides access to a general set of menu options. It provides access to some basic application information and administration functions, as shown in the following screenshot:
  • The ribbon (6) contains shortcut icons to actions. These same commands will be duplicated in other menu locations, but are in the ribbon for quick and easy access. The ribbon can be collapsed (made not visible) or expanded (made visible) under user control.
  • The navigation pane (7) contains menu options based on the active Role Center, which is tied to the user's login.
  • The content area (8) is the focus of the page. It may be a Role Center, a list page, or a department menu list.
  • The FactBox pane (9) can appear on the right side of certain page types, such as card, list, List Plus, document, navigate, or worksheet. A FactBox can only display a Card Part, list part, system part, or a limited set of predefined charts. FactBoxes can provide no-click and one-click access to related information about the relevant data in the content area.

Types of pages

Let's review the types of pages available for use in an application. Then, we will create several examples for our WDTU Radio Station system.
Each time we work on an application design, we will carefully need to consider which page type is best to use for the functionality we are creating. Types of pages available include Role Center, HeadlinePart, list, card, List Part, Card Part, List Plus, document, worksheet, navigate page, ConfirmationDialog, and StandardDialog. Pages can be created and modified by the developer and can be personalized by the administrator, superuser, or user.

Role Center page

Users are each assigned a Role Center page as their home page in Business Centralā€”the page where they land when first logging into Business Central. The purpose of a Role Center page is to provide a task-oriented home base that focuses on the tasks that the user typically needs in order to do his/her job on a day-to-day basis. Common tasks for any user should be no more than one or two clicks away.
The standard Business Central distribution includes predefined Role Center pages, including generic roles such as the bookkeeper, sales manager, and production planner. Some of the provided Role Centers are richly featured and have been heavily tailored by Microsoft as illustrations of what is possible. On the other hand, some of the provided Role Centers are only skeletons, acting essentially as placeholders.
It is critical to understand that the provided Role Center pages are intended to be templates, not final deliverables.
Central to each Role Center page is the activities area. The activities area provides the user with a visual overview of their primary tasks. Within the activities area are the cues. Each blue cue icon (containing a document symbol) represents a filtered li...

Table of contents