AX 2012 R3 CU9 “Entity name must be field in”

If you are upgrading your DIXF to R3 CU9 or your old AX version to R3 CU9, you might get an error in target entity as “Entity name must be field in” –

How to resolve this:

In R3 CU9, there exists no concept of “DMFEntityType” enum, but it had not been deleted due to backward compatibility. Now, macro value in entity list have been introduced; so, you can create ‘n’ number of entities in DIXF. In previous releases, there was a limitation in creating the entities,  due to enum constraint.

Once you are upgrading your AX version to R3 Cu9, please run the data upgrade check list to resolve mapping or defaulting data set integrity. If you don’t run the data upgrade check list, you will get issue in DIXF as above. You can solve the above issue through code also as below –

  1. static void updateEntityName(Args _args)
  2. {
  3. ReleaseUpdateDB63_DMF updateEntity = new ReleaseUpdateDB63_DMF();
  4. updateEntity.updateEntityType();
  5. }

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s