web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Add new fields in product entity in data import export framework

(0) ShareShare
ReportReport
Posted on by 36

 

Hi,

I need to add the following three fields in the product entity

1. EcoResProductMaster.RetailColorGroupId
2. EcoResProductMaster.RetailStyleGroupId
3. EcoResProductMaster.RetailSizeGroupId

I have added the folloing fields in the table DMFProductEntity and added these fields under the field group name GenerateProductDimensionGroup_6
1. RetailColorGroupId
2. RetailStyleGroupId
3. RetailSizeGroupId

I have added these below lines in the method DMFProductEntityClass\GenerateProductDimensionGroup
res = [EcoResProductDimensionGroup.Name,
ProductMaster.VariantConfigurationTechnology,
ProductMaster.RetailColorGroupId,
ProductMaster.RetailStyleGroupId,
ProductMaster.RetailSizeGroupId];

I have added these below lines in the method DMFProductEntityClass\insertUpdate

ecoResProductMaster.RetailColorGroupId = entity.RetailColorGroupId;
ecoResProductMaster.RetailStyleGroupId = entity.RetailStyleGroupId;
ecoResProductMaster.RetailSizeGroupId = entity.RetailSizeGroupId;

It is working fine. But after did this changes, item group id, product storage dimensions, item model group id are not working. But, it was working.


Could you please tell me where i did mistake? or explain me what is the best approach to do this?

Version: AX 2012 R2

Thanks,
Hari

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,664 Super User 2026 Season 1 on at

    have you refreshed entity to collect new changes

  • Hariharans87 Profile Picture
    36 on at

    Could you please explain me that how to do the refresh?

    I did the following steps

    1. Deleted the entity and recreated

    2. Clicked the Re-Generated fileds in the entity mapping details form

  • Verified answer
    Sohaib Cheema Profile Picture
    49,664 Super User 2026 Season 1 on at

    yes you have done it correctly, the two steps to refresh entity.

    i.e. deleting all fields from Entity mapping details and then clicking Generate mapping

    all we have left with this situation, is to debug Entity.

  • Verified answer
    Hariharans87 Profile Picture
    36 on at

    I have noticed that some generate method is not available in the entity mapping details. So, i have removed my customization and refreshed. It is working fine. I may did mistake on the table field group fields section.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans