Hi All , I am getting below error when i associate supercategory (classification class which is created though impex not by CLFMAS ) to product and push MATMAS to Hybris.
even if i remove supercategory(created by MATMAS or CLFMAS) and push MATMAS then also i get the same error.
cannot create Product with values ItemAttributeMap[ registry: null, type: <null>, data: {code=000004000388179011, sapean=7394379880329, sapblocked=false, unit=Unit 'CS' type 'SAP-AAAADL' (8796129689610), sapbaseunitconversion=1.0, sapconfigurable=false, catalogversion=retailfiProductCatalog/Staged(8796093579865), sapplant=E050(8796158592981), sapblockeddate=Wed Feb 25 23:00:00 GMT 2015, materialtype=UNBW, supercategories=[]} ] due to [de.hybris.platform.servicelayer.interceptor.impl.UniqueAttributesInterceptor@1094e765]:ambiguous unique keys {catalogVersion=CatalogVersionModel (8796093579865), code=5453710}
if i dissociate supercategory (created by impex ) from product and push MATMAS it works fine without any error.
Please find header which got generated in hybris.
INSERT_UPDATE Product;;sapEAN;sapBlocked;sapBaseUnitConversion;sapBlockedDate[dateformat='yyyyMMddHHmmss'];catalogVersion[unique=true];supercategories(code,catalogVersion(catalog(id),version))[mode=append][unique=true];sapConfigurable;variantType(code);code[unique=true];materialType;sapPlant(code);unit(code)
;4094;5709063003373;false;1;20140709230000;8796093612633;Z1_CRM_INTEGRATION:ERP_CLASSIFICATION_Z07:ERP_IMPORT;false;;5453710;Z007;<ignore>;CS
Could somebody please help on this.