Intellisense does not work for fields in multiple extension objects in the same app.
1. Describe the bug Following this feature: https://learn.microsoft.com/en-us/dynamics365/release-plan/2024wave1/smb/dynamics365-business-central/define-extension-objects-same-app-as-their-base-object Intellisense does not work for fields in multiple extension objects in the same app. (I love this feature btw and this is the biggest downside I encountered for now) 2. To Reproduce Steps to reproduce the behavior: Create 2 Table Extensions on the same Table.
tableextension 50100 "BPE1SalesHeader" extends "Sales Header" //36
{
fields
{
field(50100; "BPE Sync To Webshop"; Boolean)
{
}
}
}
tableextension 50101 "BPE2SalesHeader" extends "Sales Header" //36
{
fields
{
field([UseIntellisenseHere]; "BPE Comment"; Text[250])
{
}
}
}
3. Expected behavior
It should suggest the next field number 50101.
4. Actual behavior
It suggests field number 50100 which is already in use.
5. Versions:
- AL Language: 13.0.1027618
- Visual Studio Code: 1.90.1 (User Setup)
- Business Central: 24.1 (But is unrelated since it's an Intlelisense issue)
- List of Visual Studio Code extensions that you have installed: None, I uninstalled all.
@BazookaMusic Any chance to get this prioritized? Since the introduction of the support for multiple table extensions in a same app for the same table, we use this feature A LOT, but we keep struggling with assigning the first available field id. Would be great to see this fixed in the next AL update...