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

Community site session details

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

Hiding Unused Option/Enum Values

(1) ShareShare
ReportReport
Posted on by 517
We would like to hide any Option or Enum values that we don't want users to enter.  A simple example is the Debit/Credit field in the Chart of Accounts.  There is an option value "Both" that we don't want used.  We have some GL reporting that looks at this field, and based on if the value is Debit or Credit, the calculation is different.  If Both is used, it throws off the formulas.  It is my understanding this field has no functional value in BC.
 
There are other fields where we don't want to show Options or Enums that should not be used.
 
It does not appear that the ValuesAllowed or OptionMembers properties can be modified in VS Code for standard fields.  I know it can be done for custom fields in Table Extensions.
 
What is the correct approach to limiting the value options?  Do we have to add new fields to tables and pages, hide the existing Page fields, then add triggers to update the base fields with the correct values?  Seems a bit much.
 
Thanks.
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    91,871 Super User 2025 Season 2 on at
    Hiding Unused Option/Enum Values
    Hi, hope the following helps.
    Dynamics 365 Business Central: Hiding enum values on the page (ValuesAllowed Property)
     
    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,844

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,010

#3
Sumit Singh Profile Picture

Sumit Singh 2,815

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans