<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AL on Business Central Deep Dive</title><link>https://wbrakowski.github.io/tag/al/</link><description>Recent content in AL on Business Central Deep Dive</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 09 Jun 2023 13:19:05 +0200</lastBuildDate><atom:link href="https://wbrakowski.github.io/tag/al/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Copy Reports in AL the Smart Way</title><link>https://wbrakowski.github.io/2023/06/09/how-to-copy-reports-in-al-the-smart-way/</link><pubDate>Fri, 09 Jun 2023 13:07:25 +0200</pubDate><guid>https://wbrakowski.github.io/2023/06/09/how-to-copy-reports-in-al-the-smart-way/</guid><description>&lt;p&gt;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 &amp;#8220;Standard Sales &amp;#8211; Invoice&amp;#8221; &amp;#8211; 1306, you normally need to create a copy of this report first.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;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 &lt;a href="https://marketplace.visualstudio.com/items?itemName=wbrakowski.al-navigator"&gt;AL Navigator&lt;/a&gt;:&lt;/p&gt;</description></item><item><title>VS Code: Keep Your Code Clean by Running Extension Commands on Save</title><link>https://wbrakowski.github.io/2022/08/17/vs-code-keep-your-code-clean-by-running-extension-commands-on-save/</link><pubDate>Wed, 17 Aug 2022 12:48:17 +0200</pubDate><guid>https://wbrakowski.github.io/2022/08/17/vs-code-keep-your-code-clean-by-running-extension-commands-on-save/</guid><description>&lt;p&gt;There are many VS Code Extensions that make our lives as developers easier. If I think of the AL programming language, for example, they help us with the following things:&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;ul class="wp-block-list"&gt;&lt;li&gt; Replace missing brackets &lt;/li&gt;&lt;li&gt; Correct the casing of words &lt;/li&gt;&lt;li&gt; Sort fields in tables &lt;/li&gt;&lt;li&gt; …and the list could go on forever. &lt;/li&gt;&lt;/ul&gt;&#10;&#10;&#10;&#10;&lt;p&gt;That&amp;#8217;s why I thought a while back that it would actually be cool to automatically execute a few of these commands when I save a file in Visual Studio Code. The VS Code Extension &lt;a href="https://marketplace.visualstudio.com/items?itemName=andrzejzwierzchowski.al-code-outline"&gt;AZ AL Dev Tools&lt;/a&gt; for example has a setting &amp;#8220;alOutline.codeActionsOnSave&amp;#8221; which allows us to define a few commands. &lt;/p&gt;</description></item><item><title>Most Useful Business Central Repositories &amp; Apps</title><link>https://wbrakowski.github.io/2022/02/18/most-useful-business-central-repositories-apps/</link><pubDate>Fri, 18 Feb 2022 14:47:09 +0100</pubDate><guid>https://wbrakowski.github.io/2022/02/18/most-useful-business-central-repositories-apps/</guid><description>&lt;p&gt;There are a lot of very useful repositories out there with useful apps and information for Business Central. Unfortunately, it is hard to keep track of all of them or to even know of the existence of these repositories. For this reason, I decided to create a repository with a readme file that contains many useful repositories&amp;#8230;a bit like the developer version of what &lt;a href="https://blog.steveendow.com/2019/04/microsoft-dynamics-365-business-central.html"&gt;Steve Endow does with his list of information and resources&lt;/a&gt;. Feel free to contribute to this repository or give me feedback. I tried to put a lot of useful stuff in there, but of course there may be repositories that I am simply not aware of. &lt;/p&gt;</description></item><item><title>My 8 Favorite Rather Unknown VS Code Extensions for AL</title><link>https://wbrakowski.github.io/2022/02/09/my-8-favorite-rather-unknown-vs-code-extensions-for-al/</link><pubDate>Wed, 09 Feb 2022 08:51:52 +0100</pubDate><guid>https://wbrakowski.github.io/2022/02/09/my-8-favorite-rather-unknown-vs-code-extensions-for-al/</guid><description>&lt;p&gt;More and more developers are venturing their first bold steps into AL terrain. Gone are the days when dinosaurs could move on safe C/AL ground and look forward to new developments in a cheerful and leisurely manner.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;With the move to the VS Code development environment and the AL programming language, we as a developer community have the opportunity to adapt VS Code to our needs. Innovations in the AL area are happening faster and faster, new extensions are sprouting from the ground and it&amp;#8217;s hard to keep an overview of them. &lt;/p&gt;</description></item><item><title>Admin Toolbox for Business Central: Updates and New Features</title><link>https://wbrakowski.github.io/2021/04/08/admin-toolbox-for-business-central-updates-and-new-features/</link><pubDate>Thu, 08 Apr 2021 11:53:11 +0200</pubDate><guid>https://wbrakowski.github.io/2021/04/08/admin-toolbox-for-business-central-updates-and-new-features/</guid><description>&lt;p&gt;In January, I introduced my Admin Toolbox for Business Central in &lt;a href="https://wbrakowski.github.io/2021/01/13/the-ultimate-admin-toolbox-for-business-central/"&gt;this blog post&lt;/a&gt;. It has been built for OnPrem installations and offers the following functionalities:&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;ul class="wp-block-list"&gt;&lt;li&gt;Record Deletion Tool&lt;/li&gt;&lt;li&gt;Viewing of license information&lt;/li&gt;&lt;li&gt;Import of licenses&lt;/li&gt;&lt;li&gt;Not out of the box information for consultants&lt;/li&gt;&lt;li&gt;&lt;strong&gt;NEW: Publish App&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&#10;&#10;&#10;&#10;&lt;p&gt;In the meantime I have tested the Admin Toolbox for several customers. In the process, I noticed many more little things that I have improved. I also added new features to make it even more powerful. In the following I summarize the new changes. You can find the Admin Toolbox at &lt;a href="https://github.com/wbrakowski/Admin-Toolbox-OnPrem"&gt;this link&lt;/a&gt; on Github. The readme file in the project has been updated and contains the new changes.&lt;/p&gt;</description></item><item><title>The Ultimate Admin Toolbox for Business Central</title><link>https://wbrakowski.github.io/2021/01/13/the-ultimate-admin-toolbox-for-business-central/</link><pubDate>Wed, 13 Jan 2021 09:41:30 +0100</pubDate><guid>https://wbrakowski.github.io/2021/01/13/the-ultimate-admin-toolbox-for-business-central/</guid><description>&lt;p&gt;As this is my first post this year, I want to start this out by wishing you all a great new year. Actually I wanted to write about a completely different topic, but &lt;a href="https://www.waldo.be/2021/01/07/check-customer-license-in-an-onprem-db-from-the-web-client/ "&gt;Waldo&amp;#8217;s post a few days ago&lt;/a&gt; gave me an idea. And I personally like this idea so much that I&amp;#8217;m happy to be able to write about it in my first post of this year.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;In his blog post waldo has built a page to display the license information. This is especially interesting for consultants who don&amp;#8217;t have Powershell available. So far so good.&lt;/p&gt;</description></item><item><title>VS Code November Release – Most Important New Changes for AL Developers</title><link>https://wbrakowski.github.io/2020/12/14/vs-code-november-release-features-most-important-new-features-for-al-developers/</link><pubDate>Mon, 14 Dec 2020 20:58:09 +0100</pubDate><guid>https://wbrakowski.github.io/2020/12/14/vs-code-november-release-features-most-important-new-features-for-al-developers/</guid><description>&lt;p&gt;Last week the new November release of Visual Studio Code was published. There are a lot of changes in this release. In this post here I want to show a few changes that caught my attention. This post is not meant to document all changes, but only the most interesting ones for me. You can find a complete overview following &lt;a href="https://code.visualstudio.com/updates/v1_52"&gt;this link&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;&lt;strong&gt;A little spoiler&lt;/strong&gt;: There is an awesome snippet deactivation feature in this release!&lt;/p&gt;</description></item><item><title>13 VS Code Settings to Save You Time in AL</title><link>https://wbrakowski.github.io/2020/12/07/13-vs-code-settings-to-save-you-time-in-al/</link><pubDate>Mon, 07 Dec 2020 09:15:55 +0100</pubDate><guid>https://wbrakowski.github.io/2020/12/07/13-vs-code-settings-to-save-you-time-in-al/</guid><description>&lt;p&gt;Slowly but surely, even the last dinosaur will venture out of the cosy safety of C/SIDE and C/AL to plunge death-defyingly onto the battlefield of the new programming language AL. Not everyone has the time to deal with all the VS Code Settings. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;It&amp;#8217;s enough if a dumb guy like me has nothing better to do and writes it down for the others. That&amp;#8217;s why I&amp;#8217;ve summarized some important settings here that can save you a lot of time. Easy to digest and with great screenshots (semi srs). Please note that these are my &lt;strong&gt;personal &lt;/strong&gt;suggestions. I find them useful, you do not have to agree with me.&lt;/p&gt;</description></item><item><title>Report Overview – How To Run All Your Reports</title><link>https://wbrakowski.github.io/2020/06/01/report-overview-how-to-run-all-your-reports/</link><pubDate>Mon, 01 Jun 2020 09:53:18 +0200</pubDate><guid>https://wbrakowski.github.io/2020/06/01/report-overview-how-to-run-all-your-reports/</guid><description>&lt;p&gt;Are you also getting tired of navigating through Business Central to run your reports?&lt;br&gt;Do you want to know which custom reports you created in your extensions and run them easily? &lt;br&gt;Then the Report Overview I created is the cure for your problem. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What Is The Report Overview?&lt;/h2&gt;&#10;&#10;&#10;&lt;p&gt;I created the Report Overview for two reasons:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Firstly, I wanted an easy way to run and test reports.&lt;/li&gt;&#10;&lt;li&gt;Secondly, I wanted to open the pages related to my reports so I can create new records.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;As a result, I created an overview that looks like this:&lt;/p&gt;</description></item><item><title>AL Navigator – Visual Studio Code Extension</title><link>https://wbrakowski.github.io/2020/05/11/al-navigator-visual-studio-code-extension/</link><pubDate>Mon, 11 May 2020 18:02:41 +0200</pubDate><guid>https://wbrakowski.github.io/2020/05/11/al-navigator-visual-studio-code-extension/</guid><description>&lt;h2 class="wp-block-heading"&gt;Features&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;My &lt;a href="https://marketplace.visualstudio.com/items?itemName=wbrakowski.al-navigator&amp;amp;ssr=false#overview"&gt;AL Navigator extension for Visual Studio Code&lt;/a&gt; enables you to automatically create variables in AL and navigate through .al files with awesome shortcuts. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h3 class="wp-block-heading" id="user-content-create-variables"&gt;AL Navigator &amp;#8211; Create Variables&lt;/h3&gt;&#10;&#10;&#10;&#10;&lt;p&gt;AL Navigator provides a CodeAction for the AL compiler error 118 &amp;#8220;&lt;strong&gt;The name does not exist in the current context&lt;/strong&gt;&amp;#8220;. This CodeAction enables you to automatically create a local or global variable by using the names of standard objects as well as names of your local workspace files. The extension will automatically detect the object type and name and create a variable for it. If no object type and name can be found however, the variable will be created without a type. In other words, it is smart!&lt;/p&gt;</description></item><item><title>Record Deletion Tool</title><link>https://wbrakowski.github.io/2020/04/02/record-deletion-tool/</link><pubDate>Thu, 02 Apr 2020 13:18:03 +0200</pubDate><guid>https://wbrakowski.github.io/2020/04/02/record-deletion-tool/</guid><description>&lt;p&gt;Recently I was faced with the challenge of deleting a lot of data from different tables in NAV. I thought I was not the only person who had faced such a challenge and so I went searching. On &lt;a href="http://www.olofsimren.com/record-deletion-tool-for-dynamics-nav-2015/"&gt;Olof Simren&amp;#8217;s blog&lt;/a&gt; I quickly found what I was looking for. His Record Deletion Tool allows to delete transactional data from tables. Unfortunately he programmed this functionality for NAV 2015 and I needed it for Business Central as an extension. &lt;/p&gt;</description></item><item><title>Zero Values in Word Reports</title><link>https://wbrakowski.github.io/2020/03/24/do-not-print-zero-values-in-word-reports/</link><pubDate>Tue, 24 Mar 2020 07:30:06 +0100</pubDate><guid>https://wbrakowski.github.io/2020/03/24/do-not-print-zero-values-in-word-reports/</guid><description>&lt;p&gt;Today we look at how to hide zero values in Word Reports. Sometimes it makes sense not to print the value 0 in reports to protect the user from a flood of information.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;With the help of two small procedures we can achieve this behavior in Word Reports. If you are familiar with RDLC reports, you will know the function BlankZero. In this post, we are going to implement something similiar.&lt;/p&gt;</description></item><item><title>ID Assigning – Boost Your Productivity with AL/BC</title><link>https://wbrakowski.github.io/2020/02/24/id-assigning-boost-your-productivity-with-al-bc/</link><pubDate>Mon, 24 Feb 2020 07:30:55 +0100</pubDate><guid>https://wbrakowski.github.io/2020/02/24/id-assigning-boost-your-productivity-with-al-bc/</guid><description>&lt;p&gt;This post is part of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What This Post Is About&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Today I deliberately keep the post short. It is about the automatic assignment of an ID for .al objects. Some of you may already know this trick. For others, who do not know it yet, it will make your work much easier.&lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC – Breadcrumbs</title><link>https://wbrakowski.github.io/2020/02/17/productivity-breadcrumbs/</link><pubDate>Mon, 17 Feb 2020 08:00:05 +0100</pubDate><guid>https://wbrakowski.github.io/2020/02/17/productivity-breadcrumbs/</guid><description>&lt;p&gt;This post is part of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Today we will deal with the breadcrumbs in Visual Studio Code.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What Are These Breadcrumbs?&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Breadcrumbs in Visual Studio allow us to navigate to our symbols or files in a fast way. Pictures speak more than a thousand words, so let&amp;#8217;s take a look at an example. For this I created the table &amp;#8220;MyTable&amp;#8221;.&lt;/p&gt;</description></item><item><title>CRS Language Extension – Boost Your Productivity with AL/BC</title><link>https://wbrakowski.github.io/2020/02/10/boost-your-productivity-with-al-bc-crs-language-extension/</link><pubDate>Mon, 10 Feb 2020 08:00:30 +0100</pubDate><guid>https://wbrakowski.github.io/2020/02/10/boost-your-productivity-with-al-bc-crs-language-extension/</guid><description>&lt;p&gt; This is the third post of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;The CRS Language Extension offers a few features that can make your life a lot easier when developing in AL. In this post, I will talk about the features that I use the most:&lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC – Todo Tree and TODO Highlight</title><link>https://wbrakowski.github.io/2020/01/06/boost-your-productivity-with-al-bc-todo-tree-and-todo-highlight/</link><pubDate>Mon, 06 Jan 2020 08:42:53 +0100</pubDate><guid>https://wbrakowski.github.io/2020/01/06/boost-your-productivity-with-al-bc-todo-tree-and-todo-highlight/</guid><description>&lt;p&gt;This is the second post of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. Today&amp;#8217;s post will be a very short one. I will show you how you can use &lt;a href="https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree"&gt;Todo Tree by Gruntfuggly&lt;/a&gt; and &lt;a href="https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight"&gt;TODO Highlight by Wayou Liu&lt;/a&gt; to track the Todos in your VS Code Project.&lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC – AL Variable Helper</title><link>https://wbrakowski.github.io/2019/12/23/boost-your-productivity-with-al-bc-al-variable-helper/</link><pubDate>Mon, 23 Dec 2019 07:30:46 +0100</pubDate><guid>https://wbrakowski.github.io/2019/12/23/boost-your-productivity-with-al-bc-al-variable-helper/</guid><description>&lt;p&gt;This is the first post of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. Today&amp;#8217;s post will feature the &lt;a href="https://marketplace.visualstudio.com/items?itemName=rasmus.al-var-helper"&gt;AL Variable Helper by Rasmus Aaen&lt;/a&gt;. According to his own readme file, it provides the following features:&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;ul class="wp-block-list"&gt;&lt;li&gt;Easy variable assignment&lt;/li&gt;&lt;li&gt;Go to global/local variables &amp;#8211; like in the C/SIDE environment.&lt;/li&gt;&lt;li&gt;Sort Variables&lt;/li&gt;&lt;li&gt;Fix keyword casing&lt;/li&gt;&lt;/ul&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Let&amp;#8217;s checkout what it does. &lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC</title><link>https://wbrakowski.github.io/2019/12/16/boost-your-productivity-with-al-and-business-central/</link><pubDate>Mon, 16 Dec 2019 07:30:56 +0100</pubDate><guid>https://wbrakowski.github.io/2019/12/16/boost-your-productivity-with-al-and-business-central/</guid><description>&lt;p&gt;When I started out programming with AL in Visual Studio Code, everything seemed to take really long. Over the years I have become quite familiar with C/SIDE and C/AL, but developing in AL was a whole new thing.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;I did many things in a stupid and slow way, because I simply did not know a better way. This is how life works I guess. First you do it in a stupid way. Then you hopefully learn from your mistakes. Finally you will find the ways and tricks to perform your tasks in a reasonably smart way. &lt;/p&gt;</description></item><item><title>Lists in Business Central</title><link>https://wbrakowski.github.io/2019/12/02/lists-in-business-central/</link><pubDate>Mon, 02 Dec 2019 07:30:28 +0100</pubDate><guid>https://wbrakowski.github.io/2019/12/02/lists-in-business-central/</guid><description>&lt;p&gt;When checking out the NAV Techdays Videos (you can find the links &lt;a href="http://vjeko.com/nav-techdays-2019-goodies/"&gt;here&lt;/a&gt;), I found an interesting piece of code in the opening key note. I have to admit: I felt a bit like I am living behind the moon. It seems that there is the possibility to use lists in Business Central/AL. How could I not find out about this earlier?&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;figure class="wp-block-image"&gt;&lt;img src="https://wbrakowski.github.io/wp-content/uploads/2019/12/2019-12-01-08_48_29-Window.png" alt="" width="689" height="390" class="wp-image-373" loading="lazy" /&gt;&lt;/figure&gt;&#10;&#10;&#10;&#10;&lt;p&gt; That really surprised me but is an awesome step forward in my opinion. Yes, real lists, no arrays &amp;#8211; with methods like Contains, IndexOf, Add&amp;#8230; &lt;/p&gt;</description></item><item><title>Automatically Create Procedure Stub / AL Navigator</title><link>https://wbrakowski.github.io/2019/11/04/create-procedure-stub-for-al-file-with-vs-code-al-navigator/</link><pubDate>Mon, 04 Nov 2019 07:30:20 +0100</pubDate><guid>https://wbrakowski.github.io/2019/11/04/create-procedure-stub-for-al-file-with-vs-code-al-navigator/</guid><description>&lt;p&gt;Last week I added a new feature to my Visual Studio Code Extension AL Navigator that makes it possible to create a procedure stub in AL. If you have not read my post about that extension yet, you can checkout &lt;a href="https://wbrakowski.github.io/2019/10/28/jump-to-positions-in-al-code-with-al-navigator/"&gt;this link&lt;/a&gt;. Here is the link to the newest extension on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=wbrakowski.al-navigator"&gt;VS Code Marketplace&lt;/a&gt;.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What Does It Do?&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;So what does this new feature do? It implements a functionality that I was strongly missing &amp;#8211; detecting a procedure call and automatically creating the stub for it.&lt;/p&gt;</description></item><item><title>AL Navigator – My First VS Code Extension</title><link>https://wbrakowski.github.io/2019/10/28/jump-to-positions-in-al-code-with-al-navigator/</link><pubDate>Mon, 28 Oct 2019 07:30:32 +0100</pubDate><guid>https://wbrakowski.github.io/2019/10/28/jump-to-positions-in-al-code-with-al-navigator/</guid><description>&lt;p&gt;Sometimes work can be frustrating. I sometimes get frustrated when I find out that there seems to be no quick way of doing things. When you develop reports with Visual Studio Code and AL, you often want to add columns in the dataset for a data item. Sometimes you also want to add code in the triggers. I noticed that there is no shortcut to jump through the data items of an .al report file. My new extension AL Navigator changes that!&lt;/p&gt;</description></item></channel></rss>