Exploring Interface Implementation: A Journey from Events to Enums

Abstract Last week, I had an conversation with my colleague Natalie Karolak. She faced a unique challenge: replacing an event-driven feature with interfaces. Her goal was to provide a template for end-users to implement every necessary function while ensuring the possibility of executing multiple implementations of the interface. As the designated pattern enthusiast at our … Continue reading Exploring Interface Implementation: A Journey from Events to Enums

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