How to Copy Reports in AL the Smart Way

· 1 min read AL

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.

#AL#AL Navigator#Business Central#REPORT#Visual Studio Code#Visual Studio Marketplace

🔗 1 link from other sites

Como copiar informes estándar - Aesva

Reactions imported from X/Twitter and other sites via the old blog (names only).

6 Comments

  1. Very helpful, thank you for your work!

    1. Waldemar Brakowski 2024-02-13 16:22

      Thank you 🙂

  2. Michael Kyhnel 2024-01-17 18:51

    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. Waldemar Brakowski 2024-02-13 16:21

      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

  3. Carlos Garcia 2024-02-09 22:26

    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. Waldemar Brakowski 2024-02-13 16:22

      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 comment

New comments are stored as GitHub Discussions and require a GitHub account. The form is only loaded after you click, which sends data to giscus.app and GitHub (Datenschutz, German).