In the AL language for Microsoft Dynamics 365 Business Central, the List Data Type represents a strongly typed list of ordered objects accessible by index. Lists are unbounded, meaning their dimension (size) is not specified when declared. A List can only be declared with simple types (Byte, Boolean, Char, Code, Date, DateFormula, DateTime, Decimal, Text, …
Tag: AL
Permanent link to this article: https://www.dvlprlife.com/2023/06/microsoft-dynamics-365-business-central-split-delimited-value-in-al/
May 22 2023
Microsoft Dynamics 365 Business Central – Base64 Encoding and Decoding
Base64 is a group of binary-to-text encoding schemes representing binary data in an ASCII string format. Base64 data encoding is designed to survive transport through transport layers that are not 8-bit clean, such as mail bodies. Encoding the binary data to ASCII text helps ensure that the data remains intact without loss or modification during …
Permanent link to this article: https://www.dvlprlife.com/2023/05/microsoft-dynamics-365-business-central-base64-encoding-and-decoding/
Apr 25 2023
Microsoft Dynamics 365 Business Central – AL Region Directive
In the AL programming language, region directives are used to organize code to a specific region or section of code. Regions can help developers keep track of and manage the code for different parts of an application. The Region Directives also mark a block of code that you can expand or collapse, which is helpful …
Permanent link to this article: https://www.dvlprlife.com/2023/04/microsoft-dynamics-365-business-central-al-region-directive/
Apr 21 2023
Microsoft Dynamics 365 Business Central – AL Conditional Preprocessor Directives
In the AL programming language, preprocessor directives are used to make code conditional, suppress warnings, and enable code expansion and collapse. The AL preprocessor directives are grouped into conditional, regions, and pragmas categories. In this article, I’ll highlight Conditional Preprocessor Directives. Conditional preprocessor directives are a feature in AL that allows developers to include or …
Permanent link to this article: https://www.dvlprlife.com/2023/04/microsoft-dynamics-365-business-central-al-conditional-preprocessor-directives/
Jan 05 2023
Dynamics 365 Business Central – TryFunction
The TryFunction attribute in AL, when developing for Microsoft Dynamics 365 Business Central, indicates that a method is a Try method. A Try method in AL enables you to handle errors that occur in the application during code execution. For example, with try methods, you can provide more user-friendly error messages or manage the execution …
Permanent link to this article: https://www.dvlprlife.com/2023/01/dynamics-365-business-central-tryfunction/
Dec 29 2022
Dynamics 365 Business Central – JSON Object into a Dictionary Data Type
The Dictionary Data Type represents an unordered collection of keys and values and is optimized for fast lookup of values. Each addition to the dictionary consists of a value and its associated key. Every key in a Dictionary must be unique. It is on my list of favorite “new” AL Data Types, and I find …
Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-json-object-into-a-dictionary-data-type/
Dec 27 2022
Dynamics 365 Business Central – Read a JSON File with AL
A JSON (JavaScript Object Notation) file is a standard text file used to store data in a structured, organized way. It is a simple, human-readable format often used for transmitting data between a server and a web application or between different systems. A JSON file consists of a series of key-value pairs separated by commas. …
Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-read-a-json-file-with-al/
Dec 13 2022
Dynamics 365 Business Central – Create a JSON File with AL
JSON (JavaScript Object Notation) is an open standard file format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values). In today’s digital age, the exchange of data between Microsoft Dynamics 365 Business Central and other systems is often necessary. In a previous post, I …
Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-create-a-json-file-with-al/
Dec 01 2022
Dynamics 365 Business Central – Create an XML File in AL
XML (eXtensible Markup Language) is a standard for encoding documents and is used to structure data for storage and transport. XML files are just plain text files that use custom tags to describe the structure and features of the document. Many describe the file’s structure as self-descriptive and intended to be both human and machine-readable. …
Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-create-an-xml-file-in-al/
Nov 22 2022
Dynamics 365 Business Central – What can you buy with Filter Tokens?
Do you use Filter Tokens in Microsoft Dynamics 365 Business Central? Have you heard of Filter Tokens? Filter Tokens are special words that resolve to a filter string of values. Several Filter Tokens are defined in Microsoft Dynamics 365 Business Central; for example, the ‘%mycustomers’ Token (Note: when using a Filter token, an ampersand precedes …
Permanent link to this article: https://www.dvlprlife.com/2022/11/dynamics-365-business-central-what-can-you-buy-with-filter-tokens/




