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.

The AddAction method accepts three parameters:

  • Caption: The text string that appears as the caption of the action in the error UI.
  • CodeunitID: The ID of the Codeunit to run when the action is initiated from the error UI. The codeunit should contain at least one global method to be called by the error action. The global method must have an ErrorInfo data type parameter for accepting the ErrorInfo object.
  • Method Name: The name of the method in the Codeunit, which is specified by the CodeunitID parameter, that you want to run for the action.

New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1

New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1
Use Business Events To Notify And Trigger External Systems
Get Started With More Sample Power Automate Templates And Power Apps
New Approval Workflow Experience With Power Automate Templates
Support Dynamic Environment And Company In Power Platform Connector
Remove Modification Limits For Triggering Flows
Use Power Automate To Post Adaptive Card Or Link To Business Central Record
Adjust Exchange Rates Easily, Replace The Built-In Batch Job
Use Different General Ledger Accounts For Payables, Receivables
Avoid Document Number Errors When You Post Item Journals
Company Hub Now Lets Admins Add User-Specific Settings
Define Content Of Created Warehouse Documents With Filters
Intercompany Posting Setup Supports More Transaction Types And Streamlines Flows
Preview Item Journals Before Posting
Review General Ledger Accounts Faster
Set Up And Sync Master Data Across Companies
Ship And Receive Non-Inventory Items On Warehouse Documents
Shopify Connector Becomes Extensible
Shopify Connector Becomes Extensible
Synchronize Returns, Refunds From Shopify
Undo Transfer Shipments
Swedish Localization Delivered As Extension
Supporting More Countries And Regions
AL Explorer And AL Home In Visual Studio Code AL Extension
Attach AL Debugger To Active Session Or Next Session
Improved Compiler Resource Handling And Faster Code Analyzers
Optimized Runtime Package Generation For Sharing
Provide Title And Custom Actions To Error Dialogs
Control Database Locking Behaviour
AL-Go For Github – Modern Devops For Partners
ISVs Can Organize A Preview For Their Appsource Apps
Experience Improved App Management Settings
Get An Improved Cloud Migration Status Overview
Include Or Exclude Tables From Cloud Migration
Transfer Environments Between Azure Ad Tenants
Non-Deductible, Partly Deductible Vat Expands Functionality
Audit File Export Eases Saf-T Compliance
Easily Find And Install Payroll Apps From Within Business Central
Modern Tooltips Are Easy To Read And Understand
Refresh Of Content To Support Modern Tooltip UI
Experience Enhanced Adaptive Cards In Teams
Configure Security Controls For Teams Cards
Add Existing Table Fields To Optimize Your Pages
Drag And Drop Files Onto The File Upload Dialog
Access Actions And Navigation Menu Efficiently With Keyboard
Get More Productivity Out Of An Optimized Action Bar On All App Pages
Get Unblocked Using Actionable Error Messages In Select Application Areas
Tailor Action Bar To Fit Your Needs On Document Lines
Copy And Paste Readable Hyperlinks
Removed Functionality
Add More Columns to Pages for Better Insight
Catalog Items Use Standard Number Series, Can Include in Blanket Sales Orders
Demo Tool and Data for Warehouse and Inventory Scenarios
Easier to Create Opening Balances for Item Tracked Inventory
Post multiple transfer orders at the same time
Set Default Dimensions on Locations, Inventory Documents and Journals
Usability Improves for Transfer Order: Select Multiple Items, Mandatory Fields
Usability Improves for Warehouse, Inventory and Tracking Areas
Use Advanced Warehouse Functionality With Minimal Complexity
Use Statistical Accounts to Collect Data for Financial Reports
Save Time With Automatic Account Codes (Sweden and Finland Only)
Country/Regional Expansion – Andorra
Define Regional Settings Per Report Using a Region Property
Extensions That Fail Pre-Upgrade Validation Get More Detailed Error Insights
Delegated Admin’s Job Queue Entries Are Run by User
Manage User Permissions Using Security Groups
Analyze, Group, and Pivot Data on List Pages Using Multiple Tabs
Allow Application and Tenant Databases to Differ in Collation
Business Central server runs on .NET 6
New telemetry events and data
Performance – OData calls are now faster
Improved Alignment of Headers in Statistics Pages

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *