How do we modify reports dataset in d365bc using VS Code?
I cannot find anything official from any of Microsoft Training videos. The only training I can find is just to create a list report, and I think this is too simple an example.
I searched and found in other forums to create the report in old c/side and to use txt2al to export to AL. But in D365BC Oct2019 Release, you can no longer export objects from the database. I tried to execute the PS command Export-NAVApplicationObject, but this command is no longer recognised in this release.
Jordi
0
Answers
You cannot (yet) change a report, you do need to create you own report.
A way of doing that is to copy a standard report and do you modification.
If your report have a report selection, you can change the report there, if not then you need to do a bit of coding and hook into the Report Management Codeunit.
You can get the standard report in a couple of different ways, person I like do this in a container with the script from Freddy:
https://freddysblog.com/2019/07/31/preview-of-dynamics-365-business-central-2019-release-wave-2/
a different way is like waldo descrip here:
http://www.waldo.be/2019/03/01/business-central-as-an-app-getting-to-the-al-source-code/
I followed the blogpost from Freddie. The objects are stored in -->
C:\ProgramData\NavContainerHelper\Extensions
After running New-NAVContainer as per Freddie's blogpost.
Thanks.
Jordi
You mark the answer or answers that help you solve your problem