Often, you will find yourself writing a calculation in your code that you are absolutely certain everyone will want to use to calculate the same way. Well, the reality is that it's not always possible to satisfy everyone. In some cases, a customer may want to inject their own calculation and completely bypass the one you created.
The Handled pattern allows you to build specific points within your application where functionality can be bypassed.
This recipe will show you how to use the Handled pattern within your AL code.