Complete newbie here.
Starting out in IT and asked to try and modify some reports in BC.
Some stuff is simple, make a column wider, add an image.
The one I am stuck with is to add the posting date to the remittance advice report #400 (which is present in table 25)
There are so many tables and I have no idea where anything is, so trying to build a new query to make a new report from scratch will be nearly impossible.
So, I am hoping I could get the query used to make the dataset in the built-in report and simply add in the extra bit.
Suggestions?
This is a great answer, but I think it is beyond my current access and ability to implement.
We will move to the cloud soon, so I think we will wait until then.
Yes, ReportExtension is not yet supported in BC17, so you will also need the AL file.
There are a few simple ways here.
1. Found from On-Premises' installation.
For example,
Download the installation you needed, https://yzhums.com/24575/
Dynamics.365.BC.38230.W1.DVD 20.0\Applications\BaseApp\Source\Base Application.Source.zip
2. Find the source code in the Symbol File and copy it into your new AL file.
AZ AL Dev Tools/AL Code Outline extension is required.
3. Get to the source code of the default apps by Business Central Artifacts
https://www.powershellgallery.com/packages/BcContainerHelper/3.0.5
For example, Download-Artifacts -artifactUrl (Get-BCArtifactUrl) -includePlatform
4. Get the BC Source code from github.
https://github.com/StefanMaron/MSDyn365BC.Code.History
Hope this helps.
Thanks.
ZHU
This is helpful, the bit I am still stuck on is how to get the .ai file out of BC? It is BC 17, I can export a report, no problem. I can open that report in report builder or in visual code.
But everything I am seeing indicates that I need a .ai file to come along with that rdl file.
Hi, using page inspection feature you can easily find the information of the report opened.
For example,
If the fields you want to add are not in the standard report, you need to use ReportExtension to add them.
Hope this helps.
Thanks.
ZHU
You have to look at the data item table view property in the report.
And if there are several tables involved in the report you have to look at the way they are linked.
Typical example is line 173 and 174 of report 400.
Let me change that, I can export a report, same as I have done before. But where do I find the query statement?
Ok, got that running, now how do I get the reports out?
There is lots of great information here about setting up VS Code against Business Central here:
Awesome, regarding me being a newbie at this, where do I find the source code?
Well the source code for all standard reports are available so i guess the simplest and best approach is to actually look at the source code for that specific report in VS Code and learn from how it is built.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156