Dynamics 365 Business Central: View the actual error message in the debugger

Today I would like to share a mini tip when debugging in VS Code, viewing the error message in the debugger.

The process of finding and correcting errors is called debugging. With Visual Studio Code and the AL Language extension you get an integrated debugger to help you inspect your code to verify that your application can run as expected.

Source : Dynamics 365 Lab
Read more…

Show Table Data from AL Test Runner

If you are writing Business Central automated tests then you are probably creating some data as part of those tests. Sometimes it can be useful to see the records that have been created, especially if you are trying to create the correct scenario for the GIVEN part of your test and are experimenting with the library codeunits in that part of the system.

Source : James Pearson
Read more…

Show Me All Invoices Containing this Product

Here is the scenario. The user wants to select a product from a list. When that product is selected, they want to see a list of all invoices that contain that product AND ALSO see ALL OTHER PRODUCTS on those same invoices. The reason this is such an interesting problem is that normally when you select products from a list in Power Pivot, the selected products filter the data model hence you can only see sales for those selected products

Bron : Excelarator BI
Lees meer…

Dynamically hide and show controls on Card Page

Do you recognize that? That moment you think ‘I should have known that earlier’. Well, for me this was such a moment, as I realized that something that allegedly wasn’t possible since we said goodbye to the Classic Client, proved to be possible but in a different way…

Bron : Kauffmann @ Dynamics NAV
Lees meer…

How to Show Notes from a Related Table in Microsoft Dynamics NAV

A few days ago, I had a request from a client. They wanted to show the notes for the sell-to customer on a sales order by pressing a button on the sales order page. I did some work on it and made it happen, and it was unusual enough that it bears documenting in the public blogosphere.

Bron : ArcherPoint
Lees meer…