When coding in AL, there are certain times when we need to avoid errors from stopping a specific process. So they have to be handled differently. In this post, you will learn 3 ways to handle errors in Microsoft Dynamics 365 Business Central.
Tag Archives: Error
How To Troubleshoot a System File Error for Exchange Rate Services in Microsoft Dynamics 365 Business Central
Updating exchange rates in your ERP system is part of a normal routine for finance and accounting professionals. This video offers reasons for the appearance of a system file error related to exchange rate service data in Microsoft’s Dynamics 365 on-premise Business Central and how to solve it.
How do I: Fix Error: Report X does not have a layout of Type None
In Business Central as from version 20, which is 2022 Wave 1, when you develop a report without a layout and try to run it, like this one:
Catching errors with the oldest trick in the book
Sometimes, it’s good to remember the old tricks while we’re showered in new fancy stuff. This video is about catching errors and how to do that without TryFunction or collectable errors, check it out:
Tip: Get Current Callstack with a Collectible Error
You may be tempted to have your code respond differently depending on the context in which it has been called and read the callstack for that purpose. That’s not a train you want to ride though. I’ve tried, it stops at some pretty weird stations.