Skip to Content
0
Former Member
Mar 09, 2016 at 01:59 AM

ambiguous unique keys when using impex to update product on order entry

1362 Views

Is it an OOB feature that order entry cannot be updated through impex with a different product (different PK)? Changing product on order entry in hMC is possible, but when doing through impex, I got this error:

[de.hybris.platform.servicelayer.interceptor.impl.UniqueAttributesInterceptor@6dfc98b6]:ambiguous unique keys {entryNumber=1000, order=OrderModel (8797458890797)} for model OrderEntryModel () - found 1 item(s) using the same keys

Produced by:

INSERT_UPDATE existing order line, but with a different product. Ex: product code or the product code but different catalog version. However, as long as the product is the same (same PK), other attributes can be updated on order entry through impex.

Thank you