With the release of the NAV Development Preview – February Update, a new version of the VSIX was released (al-0.14.17461.vsix) that allows you to create the RDLC and WORD layouts for a report with one click.
Let’s look at an example. Here I created a report.al object with the following dataset:

You can use the TREPORT snippet and then fill in the blanks to do this.
At the top you will notice the following:
RDLCLayout = ‘layout/RDLCReport.rdl’;
WordLayout = ‘layout/MyWordLayout.docx’;
This means I want to have the layouts for my report to be stored in a separate layout folder.
Now in order to create these layouts, all you need to do is BUILD (Ctrl+Shft+B):

And voila, that’s it… Now you can open the Word and RDL files and create the layout, then save them and deploy your report.
How easy is that…

You specify the file and it is created. Also, when you change the dataset in AL, the dataset in the layout files are updated with the AL extension.
Discover more from think about IT
Subscribe to get the latest posts sent to your email.

Can you please let me know the NAV version it came with? I need to design the report for NAV 2018 using AL and facing the layout issue in VSCode.
Thanks in Advance
Normally in the installation files of your NAV2018 there should be a vsix file that you can use in VSCode.