Tag: AL

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. …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-read-a-json-file-with-al/

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 …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-create-a-json-file-with-al/

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. …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/12/dynamics-365-business-central-create-an-xml-file-in-al/

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 …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/11/dynamics-365-business-central-what-can-you-buy-with-filter-tokens/

Dynamics 365 Business Central: AllowScheduling Property

One great feature of Microsoft Dynamics 365 Business Central is the option to schedule Reports. As beneficial as this feature may be, there may be cases where the opportunity to schedule a report is not desired. Fortunately, there is a way for a report developer to control this option. The ability to schedule a report …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/08/allowscheduling-property/

Pragma and Rulesets let you make or break the rules.

The AL Language extension (the language for developing applications for Microsoft Dynamics 365 Business Central) contains fourcode analyzers for analysis of your code at build time. “Code violations” are displayed in the Problem window when the code is analyzed. The information is valuable for identifying and jumping to Code Analysis Tool rule violations. Now that you potentially have …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/rulesets-pragma-i-do-not-want-to-follow-rules/

Business Central Isolated Storage: Keep Out of my Data!

Microsoft Dynamics 365 Business Central Application Developers often need to store sensitive information their application uses. In earlier Dynamics NAV versions, developers often saved this data in table fields. The table field values were accessible to any other application or user that had access to the table. Information such as API keys, user credentials, or …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/business-central-isolated-storage-keep-out-of-my-data/

Do Cops write tickets in AL?

The AL Language extension (the language for developing applications for Microsoft Dynamics 365 Business Central) contains four code analyzers for analysis of your code at build time. The AppSourceCop analyzer enforces rules for extensions intended for listing in Microsoft AppSource. Whereas the CodeCop analyzer enforces AL Coding Guidelines and the UICop analyzer enforces rules for …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/do-cops-write-tickets-in-al/

Business Central AL ModuleInfo

In the AL Language, the programming language behind Microsoft Dynamics 365 Business Central, the ModuleInfo Data Type provides information about an application. I have often used the ModuleInfo returned by the NavApp to check specific application version information.The NavApp DataType includes information about a NavApp and has a few methods that retrieve a ModuleInfo for …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/business-central-al-moduleinfo/

Add Elements to the Role Explorer

Using the “Role Explorer” in Microsoft Dynamics 365 Business Central, you can get an overview of the features available to your Role. Each of the “Role Explorer” elements is an action, and a means to navigate Microsoft Dynamics 365 Business Central (I have heard this many times referred to as a “menu”).Elements can be added …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/add-elements-to-the-role-explorer/