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, ...
Unanswered

Enum value sync issue

(1) ShareShare
ReportReport
Posted on by 252

Hi All,

We are facing an issue with Enum value sync in DB.

Scenario :

We created a new enum, ex., TestEnum with elements as below and deployed to the Tier 2 environment.

Enum value

Name

0

B

1

C

2

D

Later, we added a new element and changed the enum value as below and deployed again to the Tier 2 environment.

Enum value

Name

0

A

1

B

2

C

3

D

But the enum values in the standard - 'EnumValueTable' is not getting changed unless we manually delete the data for the particular EnumId and resync the data. 

As we don't have provision to backend in Tier 2 environment, we are not able to proceed with this workaround.

Could someone please suggest your inputs on this issue!

Thanks!

 

I have the same question (0)
  • Waed Ayyad Profile Picture
    9,212 Super User 2026 Season 1 on at
    Hi,
     
    Did you update the already-existing records, as some records will have wrong values?
     
  • Suren_G Profile Picture
    252 on at
    Hi Waed,
     
    Yes, we updated the exiting element name in the enum and added a new element. But the updated values are not syncing to the 'EnumValueTable' and it causes mismatches between UI and DB. 
     
    Thanks!
  • André Arnaud de Calavon Profile Picture
    306,230 Super User 2026 Season 1 on at
    Hi Suren,
     
    In case you have an enumeration with predefined values, I wonder why you renumbered the values. Why didn't you add A with enum value 3? You can then still manage the order for the user starting with an A. In that case, you don't have this type of issue.
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    In this case, I agree with Andre's approach. At present, I don't know why this problem arises or how to solve it, so we can avoid this problem in another way. You can choose to add a new record instead of modifying it and re-editing it to meet your needs.
    Best regards,
    Kevin
  • Martin Dráb Profile Picture
    239,992 Most Valuable Professional on at
    I've moved this thread from Dynamics AX forum, because several things suggest it's actually about F&O.
     
    It seems you created a non-extensible enum and then you manually changed the meaning of value 2 from TestEnum::D to TestEnum::C. Then it's you who "caused mismatches between UI and DB".

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

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Subra Profile Picture

Subra 407

#3
Martin Dráb Profile Picture

Martin Dráb 274 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans