microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
718 stars 242 forks source link

Intellisense does not work for fields in multiple extension objects in the same app. #7784

Open BartPermentier opened 1 week ago

BartPermentier commented 1 week ago

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. image

4. Actual behavior It suggests field number 50100 which is already in use. image

5. Versions: