February 2025 Cumulative Updates for Dynamics 365 Business Central

The February updates for Microsoft Dynamics 365 Business Central are now available.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 25.4 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 2 – 25.4 (February 2025)

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.10 (February 2025)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.16 (February 2025)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.18 (October 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2025/02/february-2025-cumulative-updates-for-dynamics-365-business-central/

Real Things I’m asked: Cancel a User Session or Restart a Business Central Environment

Q. How do I cancel a user session or restart an environment in Business Central?

A. The Dynamics 365 Business Central Admin Center allows an administrator to restart a Business Central Environment or cancel a Business Central user session.

Canceling a session is sometimes the only way to unblock an environment where a user may have started a long-running locking process that is preventing other users from working.

In some instances, canceling the sessions may not resolve the issue. In those situations, you should restart the environment.

To restart an environment or cancel user sessions:

  • Open the Dynamics 365 Business Central Admin Center
  • Select the Environments section for a list of the available Environments
  • Click on the selected environment to open the environment page
  • From the Environment page, select Sessions from the top menu to open the “Manage Sessions” page.

To cancel a user session:

    • Select the user (or users if multiple user sessions need to be canceled) from the list and click the “Cancel session” link next to the user or the “Cancel selected sessions” button.
    • Click Yes to confirm that you would like to cancel the user session.

Note: A canceled user will receive a pop-up notification that their session was paused and to refresh to continue

To restart an environment:

    • Select the “Restart Environment” button.
    • Click Yes to confirm that you would like to restart the environment.

Note: The environment status is visible in the Details section on the environment page. The status will show Restarting while the environment is restarting and Active when the restart has finished.

 

Let’s see it in action:

Note: The code and information discussed in this article are for informational and demonstration purposes only. This content was created referencing Microsoft Dynamics 365 Business Central 2024 Wave 2 online.

Permanent link to this article: https://www.dvlprlife.com/2025/02/real-things-im-asked-cancel-a-user-session-or-restart-a-business-central-environment/

January 2025 Cumulative Updates for Dynamics 365 Business Central

The January updates for Microsoft Dynamics 365 Business Central are now available.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 25.3 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 2 – 25.3 (January 2025)

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.9 (January 2025)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.15 (January 2025)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.18 (October 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2025/01/january-2025-cumulative-updates-for-dynamics-365-business-central/

December 2024 Cumulative Updates for Dynamics 365 Business Central

The December updates for Microsoft Dynamics 365 Business Central are now available.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 25.2 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 2 – 25.2 (December 2024)

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.8 (December 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.14 (December 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.18 (October 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2024/12/december-2024-cumulative-updates-for-dynamics-365-business-central/

November 2024 Cumulative Updates for Dynamics 365 Business Central

The November updates for Microsoft Dynamics 365 Business Central are now available.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 25.1 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 2 – 25.1 (November 2024)

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.7 (November 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.13 (November 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.18 (October 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2024/11/november-2024-cumulative-updates-for-dynamics-365-business-central/

Putting down the Tiles in Microsoft Dynamics 365 Business Central

When viewing a List Page in Microsoft Dynamics 365 Business Central, users can view the page in List or Tile view. The tile view shows records as tiles instead of rows. By default, the fields displayed in the Tile are the first five fields as defined on the list page.

Users can switch between the List and Tile views by selecting the View layout options icon in the action bar of the page. If tiles contain a media field, users can choose between Tiles and Tall Tiles. The same information is displayed in both views, except with tall tiles, images are displayed larger at the top of the tiles.

Developers can specify the data shown in the Tile view by adding a fieldgroup named ‘Brick.’ There’s no limit on the number of fields you can define in the fieldgroup. However, it is recommended that tiles be limited to five data fields and one image field. The following code shows an example of defining a Tile for a Table.

table 50100 Widget
{
    Caption = 'Widget';
    DataClassification = CustomerContent;

    fields
    {
        field(1; "No."; Code[20])
        {
            Caption = 'No.';
        }
        field(2; Description; Text[50])
        {
            Caption = 'Description';
        }
        field(3; "Description 2"; Text[50])
        {
            Caption = 'Description 2';
        }
        field(4; "Unit of Measure Code"; Code[10])
        {
            Caption = 'Unit of Measure Code';
            TableRelation = "Unit of Measure";
        }
        field(5; "Unit Price"; Decimal)
        {
            Caption = 'Unit Price';
        }
        field(6; "Color"; Code[10])
        {
            Caption = 'Color';
        }
        field(7; "Blocked"; Boolean)
        {
            Caption = 'Blocked';
        }
    }
    keys
    {
        key(PK; "No.")
        {
            Clustered = true;
        }
    }

    fieldgroups
    {
        fieldgroup(DropDown; "No.", "Description") { }
        fieldgroup(Brick; "No.", Description, "Unit of Measure Code", "Unit Price") { }
    }
}

When working with Tiles:

  • Field 1 appears in small font in its row of the Tile.
  • Fields 2 and 3 are shown in a large font and appear in the same row under primary field 1.
  • The remaining fields appear in rows of two.
  • A verbose field appears at the bottom of the Tile, separated by a line.
  • Tiles support the Style property and StyleExpr property as set on the page field control.

Read more about the Displaying Data as Tiles for Lists tiles here.

Note: The code and information discussed in this article are for informational and demonstration purposes only. This content was created referencing Microsoft Dynamics 365 Business Central 2024 Wave 2 online.

Permanent link to this article: https://www.dvlprlife.com/2024/10/putting-down-the-tiles-in-microsoft-dynamics-365-business-central/

October 2024 Cumulative Updates for Dynamics 365 Business Central

The October updates for Microsoft Dynamics 365 Business Central are now available.

This month also introduces the release of Microsoft Dynamics 365 Business Central 2024 Wave 2.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 25.0 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 2 – 25.0 (October 2024)

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.6 (October 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.12 (October 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.18 (October 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2024/10/october-2024-cumulative-updates-for-dynamics-365-business-central/

September 2024 Cumulative Updates for Dynamics 365 Business Central

The September updates for Microsoft Dynamics 365 Business Central are now available.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 24.5 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.5 (September 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.11 (September 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.17 (September 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2024/09/september-2024-cumulative-updates-for-dynamics-365-business-central/

August 2024 Cumulative Updates for Dynamics 365 Business Central

The August updates for Microsoft Dynamics 365 Business Central are now available.

Before applying the updates, you should confirm that your implementation is ready for the upgrade and ensure compatibility with your modifications. Work with a Microsoft Partner to determine if you are ready and what is needed for you to apply the update.

Please note that Online customers will automatically be upgraded to version 24.4 over the coming days/weeks and should receive an email notification when upgraded.

Direct links to the cumulative updates are listed here:

Dynamics 365 Business Central On-Premises 2024 Release Wave 1 – 24.4 (August 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 2 – 23.10 (August 2024)

Dynamics 365 Business Central On-Premises 2023 Release Wave 1 Updates – 22.16 (August 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 2 Updates – Update 21.18 (April 2024)

Dynamics 365 Business Central On-Premises 2022 Release Wave 1 Updates – Update 20.18 (October 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 2 Updates – Update 19.18 (April 2023)

Dynamics 365 Business Central On-Premises 2021 Release Wave 1 Updates – Update 18.18 (October 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 2 Updates – Update 17.17 (April 2022)

Dynamics 365 Business Central On-Premises 2020 Release Wave 1 Updates – Update 16.19 (January 2022)

Dynamics 365 Business Central On-Premises 2019 Release Wave 2 Updates – Update 15.17 (April 2021)

Dynamics 365 Business Central On-Premises Spring 2019 Updates – Update 52 (October 2023)

Dynamics 365 Business Central On-Premises October’18 Updates – Update 18 (April 2020)

Permanent link to this article: https://www.dvlprlife.com/2024/08/august-2024-cumulative-updates-for-dynamics-365-business-central/

Microsoft Dynamics 365 Business Central: Decoding Dictionaries: Unlocking the Power of Key-Value Pairs

In the AL language for Microsoft Dynamics 365 Business Central, the Dictionary data type represents an unordered collection of keys and values optimized for fast lookup of values. In a Dictionary, each key is unique and is used to access its corresponding value. The dictionary data type allows you to store key-value pairs where there is a logical association between the pairs or when you need fast data retrieval based on a custom key. Unlike lists indexed by a range of numbers, dictionaries are indexed by keys.

It is important to note that every key in a Dictionary must be unique. A key cannot be null, but a value can be null when the value type is a reference type.

To create a new Dictionary that contains the same values as the original Dictionary, you perform a shallow copy by iterating through the keys of the original Dictionary and adding them to the new Dictionary.

The Dictionary data type does not support holding instantiated records. For this purpose, a developer should use a temporary table instead.

Add

Adds the specified key and value to the dictionary

 procedure AddDictionaryEntry(SalesDictionary: Dictionary of [Text, Decimal])
    begin
        SalesDictionary.Add('10000', 1234.56);
        SalesDictionary.Add('20000', 9564.22);
        SalesDictionary.Add('30000', 789.12);
        SalesDictionary.Add('40000', 456.78);
    end;

ContainsKey

Determines whether the Dictionary contains the specified key.

    procedure ContainsKey(SalesDictionary: Dictionary of [Text, Decimal])
    var
        ContainsKey: Boolean;

    begin
        ContainsKey := SalesDictionary.ContainsKey('10000');
    end;

Count

Gets the number of key/value pairs contained in the Dictionary.

    procedure KeyCount(SalesDictionary: Dictionary of [Text, Decimal]): Integer
    var
        Count: Integer;

    begin
        Count := SalesDictionary.Count();
        exit(Count);
    end;

Get

Gets the value associated with the specified key.

    procedure GetValue(SalesDictionary: Dictionary of [Text, Decimal]; dictkey: Text): Decimal
    var
        dictvalue: Decimal;
    begin
        // Get will error if the key does not exist
        // You can use contains to check if the key exists
        if SalesDictionary.ContainsKey(dictkey) then
            SalesDictionary.Get(dictkey, dictvalue);

        dictvalue := SalesDictionary.Get(dictkey);

        exit(dictvalue);
    end;

Keys / Values

Gets a collection containing the keys / Values in the Dictionary.

    procedure GetKeysValues(SalesDictionary: Dictionary of [Text, Decimal]; KeysList: List of [Text]; ValuesList: List of [Decimal])
    begin
        KeysList := SalesDictionary.Keys();
        ValuesList := SalesDictionary.Values();
    end;

Remove

Removes the value with the specified key from the Dictionary.

    procedure RemoveKey(SalesDictionary: Dictionary of [Text, Decimal])
    begin
        SalesDictionary.Remove('40000');
    end;

The Dictionary data type is optimized for lookups, allowing for efficient storage and retrieval of values without the need to query the database repeatedly.

Overall, the Dictionary data type in Business Central is not just a powerful tool but a crucial one for efficiently storing and retrieving key-value pairs. It is an asset for developers, underscoring the significance of their work with data structures in AL code.

Read more about the Dictionary Data Type here.

Note: The code and information discussed in this article are for informational and demonstration purposes only. This content was created referencing Microsoft Dynamics 365 Business Central 2024 Wave 1 online.

Permanent link to this article: https://www.dvlprlife.com/2024/07/microsoft-dynamics-365-business-central-decoding-dictionaries-unlocking-the-power-of-key-value-pairs/