How you can protect your code from commits happening in event subscriber code

Thanks to the Decoration of the CommitBehavior function, we can define if we want to avoid at all costs, that a Commit can be made within said method. If this is applied on an IntegrationEvent, then any Subscription Event that tries to add a Commit would be ignored or thrown in error depending on how it was configured.

Source : Ivan Singleton
Read more…

Writing code with an text-based AI for Business Central

OpenAI was founded in 2015 by a group of leading researchers and tech industry figures, including Elon Musk and Sam Altman. The organization’s mission is to develop and promote friendly AI that will benefit humanity as a whole. To achieve this goal, OpenAI conducts cutting-edge research in areas such as machine learning, natural language processing, and computer vision.

Source : BEYONDIT GmbH
Read more…

Benchmarking AL code

In this blog post we attempt to write a simple micro-benchmark to test execution time of a trivial scenario. Throughout the post the benchmarking code will evolve as the common mistakes are presented, explained, and solved. Finally, a relatively good solution will be presented for public usage together with advice on how to run these benchmarks.

Source : BC Internals
Read more…