AL extension release · 10.2AL Developmentofficial - Microsoftderived - from the source, no model text

AL Language extension 10.2

AL Language extension 10.2 for Business Central 2022 release wave 2: released 2022-12-05; 3 changelog entries, 3 GitHub issues linked.

Changelog on the Visual Studio Marketplace · Business Central 2022 release wave 2

Future change in behaviour

An issue in integer division was found by the community and it will be fixed with the next major release of the compiler- Version 11. Until then we are introducing a new warning AL0756 that will notify AL developers so they can adapt the change. The faulty behavior occurs only in the following scenario when j is of integer type:

local procedure TestDivision()
    var
        i: Integer;
        j: Integer;
        d: Decimal;
    begin
        i := 5;
        j := -2;
        d := i / Abs(j); // d will be 2 instead of 2.5
    end;

GitHub Issues

  • #7123 Word layouts keep randomly getting changed when compiling application.
  • #7207 PageCustomization IntelliSense not picking up actionref keywords
  • #7143 Text overflow is not caught at build or runtime if implicitly converting Guid to Text or Code, AND it changes MaxStrLen!

Miscellaneous

  • Word layouts will now only be updated if there are changes in the structure of the report or report extension that includes them.
  • Intellisense will suggest tables for report extension data-items.
  • An issue was fixed where project wide code fixes would not work.

Source: Visual Studio Marketplace, ms-dynamics-smb.al changelog, Microsoft’s text unchanged. Dates from the gallery’s upload records.