BC 24: Multiple extensions for the same table in the same app (plus another new feature)

Hello reader, in this article I want to tell you about an interesting novelty that we have with the advent of BC 24 (Business Central 2024 wave 1) and with the runtime now in version 13.0.

From this version it is possible, for the same table, to make more extensions. This eliminates the need to worry about keeping the single table extension file aligned in the same app. It is possible to create multiple extensions for the same table, as long as both the numbering and the nomenclature of the object are always respected.

Let’s see with an example what I want to tell you. Let’s say that in the same app (which may be large), two developers create application 1 and application 2. These two applications each add a field to the Item table. In BC 24, in the same app, we can do what is described in the images below.

We can then create the necessary page extensions (even one per application, but this could already be done).

Basically, we can have the app project with the structure as shown in the image on the right.

The result we will obtain is what is shown in the following image.

And has anything changed about SQL? No, because since BC 23 all table extensions have been “grouped” into a single table containing the primary key and the fields added by the various apps.

This is a nice novelty and certainly a facilitation for those who have to develop very wide solutions. In fact, one of the reasons why this path has been taken is precisely to efficiently manage very large solutions (apps), such as Microsoft’s Business Foundation app, a new app introduced by BC 24 that will encompass all public utility functions (to date it only consists of the new serial number management, but there will be many more in the future).

In the title, I also announced another novelty, for those who start developing applications in BC 24. In fact, if you noticed in the images about the table extensions of the Item table, you’ll see that the Tooltip property has been moved to the table and table extension level. This is a novelty that you will be able to take advantage of from BC 24, so there will no longer be a need to make explicit for each object the tooltip of a field for the same table.

I hope this article has intrigued you and given you some more knowledge about the new version of Microsoft Business Central 2024 wave 1.

Leave a Reply