New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1: Provide Title And Custom Actions To Error Dialogs

Microsoft Dynamics 365 Business CentralThis post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2023 Wave 1.

The fifth of the new functionality in the Development section is Provide Title And Custom Actions To Error Dialogs.

To help users get unblocked from issues when working with Business Central, Microsoft have introduced the capability to allow developers to unblock users when they encounter issues right away by choosing a corrective action. Making error messages more user-friendly helps build trust in Business Central while at the same time saving time in correcting common issues.

Enabled for: Users, automatically
Public Preview: Mar 2023
General Availability: Apr 2023

Feature Details

Developers can now set the Title property on Error dialogs that are presented to the user to enrich issue description. On top of that, using the ErrorInfo object, developers can add up to three custom actions that will be displayed on the Error dialog to provide users with corrective actions. This can be achieved by calling the AddAction method on the ErrorInfo object, which can be passed to AL methods that support ErrorInfo such as Error, TestField, FieldError, and others.

Continue reading “New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1: Provide Title And Custom Actions To Error Dialogs”

New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1: Control Database Locking Behaviour

Microsoft Dynamics 365 Business CentralThis post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2023 Wave 1.

The sixth of the new functionality in the Development section is Control Database Locking Behaviour.

Database locking is a main root cause for performance issues. When AL code takes fewer locks, it increases the performance of the system for end users.

Enabled for: Admins, makers, marketers, or analysts, automatically
Public Preview: Apr 2023
General Availability: Apr 2023

Feature Details

By default, the runtime of Business Central automatically determines the isolation levels used when querying the database. AL developers can now explicitly control the database isolation level on individual reads on a record instance.

A new ReadIsolation method has been introduced on the record data type. The method has the following syntax:

rec.ReadIsolation := IsolationLevel::

Continue reading “New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1: Control Database Locking Behaviour”