In D365 FO, enums can be extendable. For extendable enums, the enum value numbering is not fixed. Therefore, an enum value number in AX2012 can be different from the number of the related enum value in D365 FO.

To prevent a mismatch of enum values when migrating data, migrate enums based on the enum value name instead of the enum value number. To do so, on the AX2012 environment:
  1. Download and extract the SharedProject_Ax2012PrepMigrateD365FO ZIP file.
  2. Install the SharedProject_Ax2012PrepMigrateD365FO.xpo file. As a result, these enum transformation tables are installed in AX2012:
    • BisDmMigrationtableFieldEnum
    • BisDmMigrationenumValue
  3. Run the BisDmMigrationCreateEnumValues job.
As a result, you can migrate the enum values based on the names instead of the numbers.


Notes

When data migration messages are generated, the enum value transformations are taken into account. As a result, on the source document (ODBC document), for an enum field, the:

  • Type is set to String instead of Integer.
  • Enum name is filled.
Example:

Related to Notes

Data migration prerequisites

 

Provide feedback