How to Copy Reports in AL the Smart Way

How to Copy Reports in AL the Smart Way

Copying Reports for Business Central in VS Code / AL can be a time consuming task. For example, if you want to extend the sales invoice “Standard Sales – Invoice” – 1306, you normally need to create a copy of this report first.

For this it is necessary to copy the .al code of the file. In addition to that, the layouts either have to be downloaded from the web client or they have to be tediously searched in the .app file and copied from there. To save you these unnecessary repetitive clicks, I built a new functionality into my VS Code Extension AL Navigator:

“AL Navigator: Create a new report”

The function extracts the report from the .app file and copies it to your workspace. If the extension finds a folder “report”, the files will be copied there, otherwise into the root folder of your workspace.

Pictures and videos are worth a thousand words, so check it out for yourself.

How to copy a report easily:

How to create a report extension with the layout of the source report:


Hope this saves you some time. Enjoy. I am always grateful for feedback.

You may also want to check out my blog post 9 Tips for Developing Reports in AL.

7 thoughts on “How to Copy Reports in AL the Smart Way

  1. So used this app a while but today when i needed to copy a standard report it did not work, it ask for the first question but then nothing else comes up

    any sugestions

    Michael

    1. Hi Michael,
      sorry to hear that. Are you still facing this problem? Please report issues on github, this way I can track them better.
      Thank you. 🙂

      Kind regards

  2. Hello
    I downloaded the extension Al Navigator in VS Code and installed in VS Code. I could not see in the AL commands the Al Navigator. What I am missing?

    1. Hi Carlos,
      sorry to hear that. Are you still facing this problem? Please report issues on github, this way I can track them better.
      Thank you. 🙂

      Kind regards

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: