Project Structure AL Programming(Business Central)

It is important before starting our custom app/ BC extension development to know the structure of the project.

Usually any project/app will have a root folder, you can see the red color rectangle represents the root folder, this root folder can be name your extension/project.


The root folder then contains folders ".alpackages", ".vscode", ".snapshot".

.alpackages

The folder alpackages contains symbols, which are basically objects of Microsoft Business Central applications. These objects can be extended i,e tables and pages. We can use Microsoft Business Central codeunits to access the procedures which are already available.

.vscode

The folder vscode contains launch.json file, this file contains the configuration related to BC server, instance, environment.

You can find more details about launch.json in my Launch.json blog.

.snapshots

This folder contains files which are generated after doing snapshot debugging.

app.json file is present in the root folder.

If you are creating your own objects or extending the existing base app objects it will be better if you create separate folders for different objects.

Comments