Business Central 2025 wave 1 (BC26): Enhancements to hover over label/Enum/Codeunit in AL

Dynamics 365 Business Central

Hi, Readers.
Dynamics 365 Business Central 2025 wave 1 (BC26) is generally available. More details: General Available: Dynamics 365 Business Central 2025 release wave 1 (BC26).

I will continue to test and share some new features that I hope will be helpful. In this post, I would like to talk about the new enhancements to hover over labels/Enums/Codeunit in AL.

This new feature is not yet documented in the Business Central 2025 release wave 1 (BC26) release plan but is mentioned in AL Language extension changelog Version 15.0

BCIdea Hovering over labels will additionally reveal if they are locked. Enums will show ordinal values. Codeunit hover text will contain the subtype (if it is a test or install codeunit etc.) and if it is a single instance.

https://marketplace.visualstudio.com/items/ms-dynamics-smb.al/changelog

In Business Central 2023 wave 2 (BC23): Hover over label variable to see text string value, We have discussed hovering over label variable to see text string value.

With this wave (BC26), Microsoft has once again enhanced this functionality. Let’s see more details.

1. Hovering over labels will additionally reveal if they are locked.

PS: Label Data type

AttributeDescription
LockedWhen Locked is set to true, the label should not be translated. Default value is false.

2. Enums will show ordinal values.

PS: Enum Data type

Method nameDescription
Ordinals()Gets the ordinal numbers/ID’s for the values

3. Codeunit hover text will contain the subtype (if it is a test or install codeunit etc.) and if it is a single instance.

SubType Property (Codeunit):

SingleInstance Property:

Small update, but it makes life easier. Give it a try!!!😁

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL