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