web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Drop Down field Issue

(1) ShareShare
ReportReport
Posted on by 30
Hi,
Little advice please I want to add a Drop Down field to Item Reference table by extending the table, My code is below
tableextension 50101 MVFItemReference extends "Item Reference"
{
    fields
    {
        field(50101; "TariffNo"; Text[100]) { }
    }

    fieldgroups
    {
        addlast(DropDown; TariffNo) { }
    }

}

//Page Extenison

pageextension 50101 MVFItemReferenceEntries extends "Item Reference Entries"
{
   
   layout
   {
   addafter("Reference No.")
        {
            field("CN Code"; Rec."TariffNo")
            {
                ApplicationArea = All;
                ToolTip = 'Commodity Code from Item Referance';
            }


        }

   }
      
}
 
But I am getting the below error when trying to deploy to BC "error AL0513: The FieldGroup 'DropDown' is not found in the target 'Item Reference' "
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at
    Hi, I tested your code and there is no problem.
    Version: W1 25.1 (Platform 25.0.26806.0 + Application 25.1.25873.25976)
     
    Hope this helps.
    Thanks.
    ZHU
  • Khushbu Rajvi. Profile Picture
    20,708 Super User 2025 Season 2 on at
    Even i am not getting any error during deploying time. 
    Suggestion: uninstall extension from the BC, Download symbol again and then increase the application ID and then try to publish code.
  • RB-10051553-0 Profile Picture
    30 on at
    Hi thanks for the reply My BC version is  Business Central 19.3  may be "field groups" are not supported in this version, could this be the issue? 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,708 Super User 2025 Season 2 on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,708 Super User 2025 Season 2 on at

    The error happens because the Item Reference table in BC 19.3 doesn’t have a predefined DropDown field group, and you can’t create new field groups in this version. The workaround is to add the field directly to the page using a page extension. Alternatively, upgrading to BC 23 or later allows defining new field groups dynamically. 

  • Suggested answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at
    Just adding some info:
    Business Central 2023 wave 2 (BC23): Add a new FieldGroup (Brick & DropDown) to an existing table
     
    Thanks.
    ZHU
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,092

#2
YUN ZHU Profile Picture

YUN ZHU 663 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 515

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans