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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Base Enum values

(0) ShareShare
ReportReport
Posted on by

Hi, I'm trying to see the base enum values for the salesstatus.  I tried looking at the properties of the elements but it does not seem to be there.

can someone help?

Thx  in advance

I have the same question (0)
  • Suggested answer
    udaY-ch Profile Picture
    5,180 on at

    Hi,

    UseEnumvalue property is disabled for SalesStatus. So, you will not be able to see the enum values.

    Check SalesStatus enum properties from application explorer.

    Uday

  • brianmaric Profile Picture
    on at

    I did but the value is not displayed on the property sheet.

  • udaY-ch Profile Picture
    5,180 on at

    See the property of the salesstaus enum from application explorer.

    You will find "UseEnumValue = No"

    Uday

  • brianmaric Profile Picture
    on at

    Alright, so are you saying there is no way to see the enum vaules except in code?

  • Verified answer
    udaY-ch Profile Picture
    5,180 on at

    Perfect, you cannot see it and use it.

  • brianmaric Profile Picture
    on at

    hmm....it must be stored somewhere in a table or something but thanks for answering the question.

  • Suggested answer
    Martin Dráb Profile Picture
    239,680 Most Valuable Professional on at

    The information above is not correct. It's not related to UseEnumValue - it's caused by the fact that the enum is extensible (IsExtensible=True).

    It means that additional elements can be added in extensions and if everybody had to pick a numeric value, there would be a huge risk of conflicts. Therefore extensible enums don't let you set values - values are assigned automatically by the system.

    If you want to see numeric values used in your particular environment, look into ElementValueTable (directly in the SQL database). Like this:

    select EnumValueTable.* from EnumValueTable
    join EnumIdTable on (EnumIdTable.Id = EnumValueTable.EnumId)
    where EnumIdTable.Name = 'SalesStatus'

    Just don't forget that other environments may use different values.

  • udaY-ch Profile Picture
    5,180 on at

    I missed telling the fact that isextensible property. The enum values are non deterministic when isextensinle property is true whereas db synchronization  generate automatic values.

  • Suggested answer
    Joris dG Profile Picture
    17,782 on at

    What Martin said!

    He implicitly says it but let me state it explicitly. That means the values CAN be different between your environments! So do not ever use the numeric values. EVER.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 658 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 632 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 570

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans