I’m trying to set up a permanent interface for item import into AX using DMF/DIXF.
We have two different scenarios : The first case is a new item coming from an external PLM-software. This one will be imported via DIXF using 100% staging-to-target-mapping. The product staging table gets filled by the PLM-data and an AX-item template first. Works good.
Second scenario is the „Update-case“ afterwards. The same item comes from the PLM-system once again, with just a couple of updated fields. No AX-item template is used, so the staging table is almost empty except the mandatory /updated fields. Copying this to target by using the same definition group leads to overridden empty target fields, whereever the staging is empty and the target not.
Now I’ve tried to resolve this problem by using another definition group with another target entity where a strongly reduced target mapping to the product is behind. Just a couple of fields are mapped from staging to target and, lets say, the generator for product language text translation is active.
But this won’t work as expected, I always get error messages like this :
«A record in ecoResStorageDimensionGroup could not be created. The record already exists.«
or
«A record in ecoResTrackingDimensionGroup could not be created. The record already exists.«
The parameters for insert() / validateWrite execution logic in DMF are turned off, but this makes no difference.
I do not know why the DMF target job is trying to create these tables with empty values because the item is already available in AX and there is no target mapping for ecoRes*DimensionGroup tables or generators active.
I’m using Dynamics AX 2012 R2.
Thanks in advance,
Best regards,
Frank
*This post is locked for comments