I have used the MetadataSupport library in X++ to help get metadata information for tables, menu items, and data entities in the past. I have also used it for enums but recently found an issue when dealing with enum extensions.
I initially wrote the logic to get enum metadata information like this:
Which seems to work just fine, until you find an enum that contains a base enum extension, for…
Continue Reading Alex’s Article on their blog
Why You Need To Be Careful When Using The MetadataSupport Library For Enums in D365FO – Alex Meyer
I use the MetadataSupport library to get metadata info for tables, menu items, and data entities. Why do you need to be careful when using it with enums?
Blog Syndicated with Alex’s Permission

