Home /

AL Language

63 articles · Page 3 of 6
AL Language

ErrorInfo data type & Collectible Errors

A major change to AL Language development is here! Collectible errors can hugely improve any validation procedures. And what’s new? Everything is about a new data type ErrorInfo. ErrorInfo data type ErrorInfo is a new data type introduced in Microsoft Dynamics 365 Business Central 2021 wave 2 (autumn 2021). This new data type greatly improves

4 min read
AL Language

Exploring CosmosDB with Business Central, part 2

This part explains how to connect to Azure Cosmos DB from your Business Central extension using AL Language and how to get some values from the database.—————————————————————————————————————— This is the second part of series of three articles about integration between Microsoft Azure Cosmos DB and Microsoft Dynamics 365 Business Central. This part explains how to

5 min read
AL Language

Exploring CosmosDB with Business Central, part 1

Azure Cosmos DB is a fully managed NoSQL database for modern app development. Data in this database are available using APIs. To find out how to get Azure Cosmos DB, licensing and all other details see Microsoft portal https://docs.microsoft.com/en-us/azure/cosmos-db/introduction.—————————————————————————————————————— This is the first part of series of three articles about integration between Microsoft Azure Cosmos

3 min read
AL Language

DynamicsCon 2021 session recording available!

Finally, recordings from DynamicsCon 2021 Autumn edition are available! Check the official youtube channel. It was a great conference with over 250 people during my live session! I definitely hope I will be able to attend the next in-person DynamicsCon as a speaker with a totally new session (I am just working on the structure

1 min read
AL Language

Performance in AL Language development (BC2021 wave 2)

In just a few days the new major version of Business Central 2021 wave 2 will be introduced! This is again a huge set of changes that comes with this new version. In this article, we will look at the most important changes in AL Language performance (performance snapshot debugging and changes in development to

2 min read
Events

DynamicsCon session today!

Today is D-day! My DynamicsCon2021 session is here!!!Are you familiar with Partial Records in AL Language? Do you know how to use them correctly? I hope you know it but repetition is the mother of wisdom (and I still think you will see also something new that you don’t currently know ) Join DynamicsCon2021 Autumn

1 min read
AL ID Range Manager

New versions of ALRM for VSCode has been released

I have just released a new version of my main, publicly available project, ALRM extensions for VS Code. The latest versions of both extensions (VS Code & Business Central) are available for download on my GitHub and also directly in VS Code marketplace for free for any developers in AL Language.And what is new? VS

1 min read
AL Language

Field Level Permissions (Restricted Fields)

I just add a new project to my GitHub repositories. It is a new extension for Business Central that extends security functionalities with field-level permission. Using this extension, users are able to define who can or can not change specific fields in any table in your system. Source codes can be found on GitHub –

2 min read
AL Language

Forget Confirm() method; start with Confirm Management module

For a long time, if we wanted to get input from the user to confirm something, we used Confirm() method. This method is straightforward – it has two parameters (+ unlimited number of constant values similar to StrSubstNo() method). The first one accepts text shown to the user, the second one (optional) defines which button

2 min read
AL Language

Returning complex types in AL Language

In Microsoft Dynamics 365 Business Central 2021 w1 (released in May 2021), a profound change was introduced to ways how we can design our applications Until this version, the only way to return complex data types (like records, codeunits, Lists etc.) was using the var parameter (see example below). trigger OnRun() var SalesHeader: Record “Sales Header”; begin

3 min read