Extending AL objects
Extending AL objects covers how Business Central extensions add to existing objects without changing base code: table, page, report, enum and permission set extensions, application areas, and event types. It answers questions about extension syntax, keywords, and events.
- 7Learn pages
- 1videos
Path: Development > Extensibility > Extending AL objects · tier official · system development · narrative unreviewed (model text not yet checked)
Overview
This section describes the AL object types and mechanisms used to extend the base application. Each extension object page covers one object type: table extensions add fields, keys and trigger code, page extensions add or move controls and actions, report extensions add columns, data items, request page elements and layouts, and permission set extensions add permissions to existing sets. Extensible enums let other extensions add values through enumextension objects.
Two pages cover wider mechanisms. Event types explain business, integration, global and trigger events and how to publish, raise and subscribe to them. Extending Application Areas explains how to add features that show or hide controls for different experience tiers.
Start with Event types to understand how extensions react to application behavior. Then read the page for the object you want to extend. The Extensible property appears in several pages, so check it when you want your own objects to be extended.
Key points
- Event types include business events, integration events, global events, and database and page trigger events. The page explains how to publish, raise and subscribe to them.
- Table extensions add fields, keys and trigger code without modifying the base table. The page also covers field tooltips and the Extensible property.
- Page extensions use addfirst, addlast, addafter, addbefore, modify, movefirst, movelast, moveafter and movebefore to change layout and actions.
- Report extensions add columns, data items, triggers, request page elements and multiple report layouts. The page is tied to 2022 release wave 1.
- Extensible enums use the Extensible property and enumextension objects to add values. The page covers ordinal values, caption formatting, enum conversion and assignment compatibility.
- Permission set extensions add permissions to existing sets. Permissions are assigned when the extension is installed and removed when it is uninstalled.
- Application areas are extended by adding fields to the Application Area Setup table and subscribing to the OnGetExperienceAppArea and OnValidateApplicationAreas events.
Learn pages
- Event types: Business Central supports different types of events including BusinessEvent, IntegrationEvent, Global, and trigger events.
- Extending Application Areas: Learn about extending application areas in Business Central.
- In the observatory: Table 9178 “Application Area Setup”
- Extensible Enums: Overview of the enumeration type and the concept of extending them.
- Page extension object: Extend page objects with page extension objects in AL for Business Central.
- Permission Set Extension Object: Use AL permission set extension objects in Business Central to add permissions to existing sets and design targeted changes that avoid excess access.
- Report extension object: The report extension object in AL for Business Central allows you to create an extension of an existing report.
- In the observatory: Report 111 “Customer - Top 10 List”
- Table extension object: This article describes the table extension object in AL for Business Central.
- In the observatory: Table 18 “Customer”
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #10067 [Quality Management] Enable Bin code selection for transfer disposition in workflow response (code change): “Bin code selection is now available for transfer disposition in workflow responses”
- #10352 [Master]-Bug 646964: Withholding Tax Prod. Posting Group is missing o… (code change): “New page extension adds the withholding tax product posting group”
- #10370 [Master]-Bug 647018: Withholding tax for Employees and GL Accounts (code change): “WHT product posting group is inherited from the G/L balance account”
- #10382 [Expense Agent] Fix administrative recall history access (code change): “Recalls by someone other than the submitter are logged as BC User activity”
- #10438 [Master] - Bug 647272: [Expense Agent] Unwanted caption in expense report FactBox (code change): “Expense Report FactBox caption changed to Expense Report”
- #9217 [Extensibility][SubscriptionBilling]: Make IsLineAttachedToBillingLine accessible from external apps in Sales Line and Purchase Line (code change): “IsLineAttachedToBillingLine procedure visibility changed from internal to public”
- Business Central 29.0: Major Change to Table Extensions and SQL Storage. (community post): “table extension fields are stored in the database”
- Dynamics 365 Business Central: How to substitute a page for another page via AL (community post): “Page substitution in Dynamics 365 Business Central allows developers to redirect”
- Business Central 2026 release wave 2 (BC29): Faster data loading with improved data model for table extensions (all fields on an AL table are stored in the same table) (community post): “Fields from table extensions are stored in the base table”
- Business Central 29.0: Major Change to Table Extensions & SQL. (video): “table extensions; sql storage model; database performance; indexes”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.