Found an interesting issue when trying to import main accounts in a new environment in AX 2012 R3.
The trouble was that I could not find Main account entity in the target entities in DIEF and was wondering now what should I do.
On digging further I realized that the DIEF staging table existed so it was possible that maybe the reference somehow got deleted. Since this entity is one of the base entities included in 2012R3.
So next I tried to figure out how it is normally out of the box.
I used the link below from MS to figure that out:
I just gave an entity name and entered the correct entity class, staging and target table since they already existed. Details are below:
Entity Name : Main account
Application module: General ledger
Staging table: DMFMainAccountEntity
Entity class: DMFMainAccountEntityClass
Target table: DMFMainAccountTargetEntity
I just gave an entity name and entered the correct entity class, staging and target table since they already existed.
Once you add that new line in the target entities , just validate the same. You should be good to go.