Symptom
For example, in Duplicate Identifiers tool in hMC/Catalog/Catalog Management Tools , the identifier of Price Row is defined as :Product,Unit,Product Price Class,Customer Price List,Scale,Pricing,Customer,Currency
screenshot as below
If you want to change the uniqueKeyAttribute in {yourextesion}-items.xml code as below to change the defination:
<itemtype code="PriceRow" autocreate="false" generate="true"><custom-properties><property name="uniqueKeyAttributeQualifier"><value>"product,pg,user,ug,unit,minqtd,currency,net"</value></property></custom-properties></itemtype>
After ant all, error will be as below
Problem: can’t change uniqueKeyAttributeQualifier in {extension}_item.xml
Caused by: java.lang.IllegalStateException: custom property 'uniqueKeyAttributeQ
ualifier' of PriceRow::((europe1))::YComposedType[europe1-items.xml:228(ItemType
TagListener)] already set to '"product,pg,user,ug,unit,minqtd,currency,net" - ca
nnot set to '"product,pg,user,ug,unit,minqtd,currency,net"'
Read more...
Environment
hybris with hMC 5.x
Product
Keywords
KBA , CEC-SCC-CDM-CKP-APP , Applications , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview