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 :
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,039 Super User 2025 Season 2 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
    301,035 Super User 2025 Season 2 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
    237,880 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans