Here’s a quick guide to get started with AL development in Visual Studio Code for Business Central:
---
✅ Step-by-Step AL Setup Guide
1. Install the AL Language Extension
Open Visual Studio Code.
Go to View > Extensions, search for "AL Language" and install the one published by Microsoft.
2. Create a New AL Project
Press Ctrl+Shift+P → Type AL: Go! and select it.
Enter your project name (this becomes your extension folder).
Choose a target platform (e.g., "Business Central Cloud").
3. Configure Launch Settings
Open the launch.json file created under the .vscode folder.
Update the "server" and "tenant" fields with your sandbox URL (e.g., https://businesscentral.dynamics.com/sandbox) and tenant ID.
Set "environmentName" to the name of your sandbox (e.g., "Sandbox").
4. Download Symbols
Press Ctrl+Shift+P → type AL: Download Symbols → run it.
This pulls in the necessary references from your Business Central environment.
5. Start Coding AL
Create new .al files for:
table
page
codeunit
report, etc.
Example: Create a new file CustomerExt.al to extend the customer table.
6. Publish Your Extension
Press F5 to publish and run the extension in your sandbox.
It will open BC in the browser and install your code.
---
🎥 Complete AL Beginner Playlist (Recommended)
Here’s a helpful video series to walk you through the process step-by-step:
👉 Start Learning AL Development – YouTube Playlist
> ✅ Mark the checkbox below if this answer helped you. Happy coding!