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 :
Dynamics 365 Community / Forums / Finance forum / Composite data entity ...
Finance forum

Composite data entity XML export Enum fields

(0) ShareShare
ReportReport
Posted on by 150

Hi,

When exporting composite data entity (e.g. Sales orders composite V3) as XML via DMF, all Enum fields values are exported as integer.

15_2D00_04_2D00_2019-14_2D00_18_2D00_55.png

When non-composite entities (e.g. Sales order headers V2), which are part of composite one, are exported individually - Enum fields values are exported as enum values.

15_2D00_04_2D00_2019-14_2D00_23_2D00_34.png

All the setup looks the same. Why is there difference? Is this a bug, feature or I'm missing some settings?

Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,194 Super User 2025 Season 2 on at

    Hi Oleksii,

    Did you export both from the same environment with the same platform version? Are the settings like language also the same?

  • Oleksii Profile Picture
    150 on at

    Hi Andre,

    Yes, same environment, same language, even simultaneously from same data project.

    Please find environment details below:

    Application release

    Microsoft Dynamics 365 for Finance and Operations (8.1)

    Platform release

    Update23 (7.0.5126.35371)

  • MATTGUO Profile Picture
    22,349 Moderator on at

    Hi Oleksii,

    It is default setting, system changes enum fields values to integer when exporting composite data entity.

  • Oleksii Profile Picture
    150 on at

    Thank you for reply MATTGUO. Is there a way to change this setting? Having integer values is not very helpful, and will require a lot of efforts to convert each Enum :(

  • Verified answer
    Oleksii Profile Picture
    150 on at

    With latest platform release (Update25) Microsoft introduced new flighted feature - EnableEnumSymbolSupportForImportExport. After enabling it - Enum values have been finally exported correctly.

  • Community Member Profile Picture
    on at

    Hi Oleksii,

    Thanks for sharing, where is the feature EnableEnumSymbolSupportForImportExport possible to enable?

  • PRSCOL Profile Picture
    25 on at

    Hi Oleksii, i am able to acheive this in Dev machines.

    How to enable flight and insert values in data base in tyre2 machines

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans