AL is the programming language used to write business logic for Microsoft Dynamics 365 Business Central. Developers use it to retrieve, insert and modify records in the Business Central database, and to control how application objects such as pages, reports and codeunits behave. AL code is placed in triggers, which exist on tables, table fields, pages, reports, data items, XMLports and queries, and a method kept local to an object cannot be run from another object. Microsoft advises writing most code in codeunits instead of on the object it operates on, because that gives cleaner design, easier reuse and better security, since users can be given permission to run a codeunit without direct access to sensitive tables. Variables are declared with the var keyword, and the protected keyword makes a variable available between tables and table extensions and between pages and page extensions.
Facts
Primary Use Domain Sources
1. Programming in AL (Microsoft Learn)
IntroductionQuote, Introduction
AL is the programming language that you use to manipulate data, such as retrieving, inserting, and modifying records in a Business Central database.
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.