Skip to content
AL runtime versions in Business Central

Navigating the Runtime Landscape in Business Central

Daniel Gorski
Daniel Gorski February 06, 2024
4 min read

Understanding Runtime Versions in AL for Business Central

In the realm of Microsoft Dynamics 365 Business Central, the evolution of application development is significantly influenced by the runtime version of the AL language. The runtime version, a pivotal aspect of the AL development environment, dictates the range of capabilities and features available to developers. It's akin to having a detailed map in the constantly evolving landscape of Business Central, guiding developers on the paths they can take and the tools they can use.

The Role of Runtime Version in AL Development

The runtime version is not just a number; it's a framework that outlines the capabilities, APIs, and features accessible within an AL project. This version is explicitly defined in the app.json file of a project using the syntax "runtime": "X.0". It essentially sets the stage for your project, aligning it with a specific set of functionalities and behaviors provided by the Business Central platform.

Why Does the Runtime Version Matter?

  1. Compatibility and Stability: Specifying the runtime version ensures that your extension is compatible with the version of Business Central it's intended for. This is especially crucial for on-premises deployments or hybrid scenarios, where the exact version of Business Central in use might vary.
  2. Feature Accessibility: Each runtime version unlocks a unique set of features. Knowing your runtime allows you to leverage the specific functionalities introduced in that version, ensuring you're using the tools and capabilities intended for your development context.
  3. Forward Planning: By specifying a runtime version, you're not just coding for today; you're planning for tomorrow. It allows you to anticipate changes, adapt to new features, and ensure that your codebase remains robust, relevant, and forward-compatible.

Choosing the Right Runtime Version

The selection of a runtime version is a strategic decision, influenced by factors such as customer needs, project requirements, and the development environment. Here's how you can approach this decision:

  1. Minimum Viable Runtime: If your customer base uses a mix of different Business Central versions, aim for the lowest common denominator. Choose the minimum runtime version that supports all the functionalities you need. This ensures maximum compatibility and reach.
  2. Stay Updated: Regularly test your extensions against the latest runtime version. This proactive approach helps you catch any deprecations, changes, or new features early, allowing you to adapt your codebase iteratively and manageably.
  3. Balance Innovation with Stability: While it's tempting to always use the latest runtime for its new features, weigh this against the stability and compatibility needs of your customers. The goal is to harness innovation while ensuring a smooth, disruption-free experience for your users.

Below is a comprehensive mapping of Business Central runtime versions to their corresponding major releases:

  • Runtime Version 1.0 - 12.0: Business Central April 2018 Release
  • Runtime Version 2.0 - 13.0: Business Central Fall '18 Release
  • Runtime Version 3.0 - 14.0: Business Central Spring '19 Release
  • Runtime Version 4.0 - 15.0: Business Central 2019 release wave 2
  • Runtime Version 5.0 - 16.0: Business Central 2020 release wave 1
  • Runtime Version 6.0 - 17.0: Business Central 2020 release wave 2
  • Runtime Version 7.0 - 18.0: Business Central 2021 release wave 1
  • Runtime Version 8.0 - 19.0: Business Central 2021 release wave 2
  • Runtime Version 9.0 - 20.0: Business Central 2022 release wave 1
  • Runtime Version 10.0 - 21.0: Business Central 2022 release wave 2
  • Runtime Version 11.0 - 22.0: Business Central 2023 release wave 1
  • Runtime Version 12.0 - 23.0: Business Central 2023 release wave 2
  • Runtime Version 13.0 - 24.0: Business Central 2024 release wave 1
  • Runtime Version 14.0 - 25.0: Business Central 2024 release wave 2
  • Runtime Version 15.0 - 26.0: Business Central 2025 release wave 1
  • Runtime Version 16.0 - 27.0: Business Central 2025 release wave 2

The choice of a runtime version is a cornerstone decision in the lifecycle of a Business Central extension. It's a balance of understanding your current needs, anticipating future developments, and ensuring compatibility across the diverse landscape of Business Central deployments. By making an informed choice about the runtime version, you're not just coding; you're crafting a future-proof, adaptable solution that stands the test of time in the dynamic world of Business Central.

Each release wave so far has added one runtime version. The full list, including the newest releases:

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-choosing-runtime

Related posts

▸ All posts
Default Line Type behavior in Business Central

Document Default Line Type in Business Central

May 07, 2024 · Daniel Gorski

The 'Document Default Line Type' in Business Central only applies to the first line. A small AL event subscriber keeps it for every new line.

Read More
Read More: The Line Type Myth: Default Line Types in Business Central
Isolated Storage in Business Central report extensions

Using Isolated Storage on Report Extensions

June 15, 2022 · Daniel Gorski

Learn how to use Isolated Storage in AL report extensions in Business Central — and avoid a common casting error with a simple fix.

Read More
Read More: Using Isolated Storage on Report Extensions
Using OpenAI to write AL code for Business Central

Writing Business Central AL Code with ChatGPT

December 03, 2022 · Daniel Gorski

How OpenAI's ChatGPT helps Business Central developers write AL code – from a table design to a full page, and what you still need to adjust.

Read More
Read More: Writing code with a text-based AI for Business Central