This repository contains a demo project showcasing the features of mdAL
. mdAL
is a Domain Specific Language that enables a Model-Driven approach to extension module development for the ERP System Microsoft Dynamics 365 Business Central. mdAL
stands for model-driven AL.
❗ Please note that mdAL currently is targeting Business Central 16 and later. |
---|
Try mdAL
with this demo project inside the online IDE Gitpod. For more information on mdAL
visit mdal-lang.github.io.
This repository holds the following contents:
src/seminar-management.mdal
: ThismdAL
model file defines an AL solution for seminar management (cf. Microsoft official training material: Course 80437 — C/SIDE Solution Development in Microsoft Dynamics® NAV 2013). Once opening this file inside VS Code with themdAL
VS Code extension installed you can generate the corresponding AL code by right-clicking inside the model file or using the command palette. After the code generator finished you will find the AL code in thesrc-gen
folder. For more information on the features of themdAL
extension visit the mdal-lang/mdal-extension repository..github/workflows/build.yml
: This GitHub Actions workflow file showcases howmdAL
can be used inside a CI/CD pipeline. In this project themdAL
Action has been used to provide standalone AL code generation. On other CI environments you can also use themdal/cli
docker image in order to call the code generator from the command line.
This project is complemented by the repository mdal-lang/mdal-demo-extension
which adds e. g. customizations to the generated posting routines through event subscribers.
MIT (c) Jonathan Neugebauer