Today I would like to talk about how to specify the report layout (“Report Layout List 2000000234”) before printing in AL. A few days ago, a partner asked me an interesting question, the customer wants to print different report layouts according to different conditions in the sales order, but the report is the same. Is there a way to deal with it?
Since Business Central 2022 Wave 1 (BC20), we have the ability to use Excel Layout for reporting. Excel layouts work the same way as Word and RDLC layouts in that they can be edited and saved back again into Business Central. With Excel layouts for Business Central reports, users can now create and edit report layouts simply by using the full capabilities in Excel such as sliders, diagrams, charts, and pivot tables. Let’s try to create one using Inventory Order Details.
Today I would like to share a mini tip of Business Central, how to build extension (Package/Publish) without generating report layout files in VS Code.
When we create a new report, there are two main tasks to consider. First, we define the report dataset of data items and columns. Then, we design the report layout.
Recently I was asked a very interesting question, is there any way to select a layout file when printing a report?
As you might know, we have powerful report management features in Business Central. We can manage and select the default layout for the report in the Report Layout Selection page.
How many times in real world projects a customer asked you to create custom exports in Excel in order to fill a pre-defined and pre-formatted Excel report (with formulas, charts, macros and more) or to create an Excel report exactly like in a given model? Personally, I’ve lost the count…
Now with the new Excel Layout feature, this is possible directly at customer’s fingertips.