Create a recurring purchase invoice in BC using Power automate
AL
Using the “Template method pattern” in AL
In this blogpost I continue my series of design patterns for AL. This time I write about a simple pattern which could make the readability of your code much better. I'm talking about the "Template method pattern". The pattern defines the skeleton of a process without implenting it. The real implemenation is handelt in another … Continue reading Using the “Template method pattern” in AL
Part 2: How to Implement a Command Queue in pure AL
In my last blogpost I wrote about how we can implement a Command Queue in AL. In the second part I will go a little bit in detail about the Solution. First of all you have to understand the differenences between valuetypes and referencetypes. If you already know you skip to the next paragraph. TL;DR; … Continue reading Part 2: How to Implement a Command Queue in pure AL
How to Implement a Command Queue in pure AL
In this article I show how to implement the command pattern (https://en.wikipedia.org/wiki/Command_pattern) and include it in a queue First of all we need the command interface Interface ICommand interface ICommand { procedure Execute(); } Because we want to add this to an queue we need a queue entry, i choose a codeunit to this put … Continue reading How to Implement a Command Queue in pure AL