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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Extend Type field in Item card

(0) ShareShare
ReportReport
Posted on by 154

Hello Experts,

I want to add options in "Type"  field in item card in Business central but seems it doesn't work.

tableextension 50011 "Item_Ext" extends "Item"

{

   fields

   {

       modify("Type")

       {

           OptionCaption = ', Inventory, Non-inventory, Service, Manufacture, Finish Good';

       }

   }

}

But its not working. Any suggestion swill be highly appriciated.

Thanks in advance.

Nia

  • Suggested answer
    Bilal Haider Profile Picture
    487 on at

    Hi,

    The Type field in Item Table is Enum so you need to create extension for that enum.

    Item Type Enum is as below:

    Enum-1.PNG

    Now you need to extend this enum like below:

    enum-2.PNG

    and then after publishing this you will see new options in Item Type.

  • Suggested answer
    Bilal Haider Profile Picture
    487 on at

    You can add as many values as you want just like I added 3 above.

  • Samantha73 Profile Picture
    3,438 on at

    I wouldn't extend basic ENUMs in BC unless you know have checked where this is used in standard APP. Still you don't know how this will affect future upgrades.  Consider for example, if MS has IF ELSE code block using enum values like IF Inventory then A, IF Non-Inventory then B, IF service then C , ELSE EXIT , Now what happen to your new ENUM value?  Just because yu can extend doesn't mean you should

  • Suggested answer
    Bilal Haider Profile Picture
    487 on at

    @Samantha73 The code that I have shared in picture 1 is actually from Microsoft Base App. 

    Microsoft has made this Enum extensible. 

    But yes, there are dangers of extending Enum if you are not handling the newly added values of Enums in code properly.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    Hi Nia,

    The "Type" is an enum called "Item Type", so you need to create an enum extension in order to add more option to it.

    However, I would suggest you not to extend it because the Type is linked to many places. If you are not careful, you can break the core functionality.

    In my opinion, adding new field is a better and safer option for it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 569 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 375 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 228 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans