The best practice for confirmation dialog box in Dynamics 365 Business Central (Using Codeunit 27 “Confirm Management”)

Today I would like to talk about the best practice for Confirm dialog box in Dynamics 365 Business Central.

As you might know, you can use Dialog.Confirm Method to create a dialog box that prompts the user for a yes or no answer. The dialog box is centered on the screen. This is very easy.

Source : Dynamics 365 Lab
Read more…

Service to service authentication in Business Central 18.3 – How to test (REST Client & PowerShell)

In the previous blog posts I’ve described the usage scenarios around OAuth client credentials flow for Business Central and how to set it up. The next step is to test the APIs and with OAuth authentication to see if it works properly. In this post, I want to focus on the REST Client extension for VS Code and PowerShell. In the next posts, I will also cover Postman, Insomnia and C#.

Source : Kauffmann @ Dynamics 365 Business Central
Read more…

How to restrict Send To, Print and Preview button on standard report

Today we will talk about how to restrict Send to.., Print and Preview button on a standard report.

Is it possible to restrict Send to.., Print and Preview from a standard report in Business Central? You should know that the Send to.., Print and Preview button can’t be hidden. So what we need to do is to report the error after the user clicks Send to.., Print and Preview.
We will subscribe function to restrict standard report buttons.

Source : MADHDA
Read more…