Cant merge product entity due to unique primary keys
Description
When merging product entity, update M_StorageOnHand or M_StorageReservation throws unique primary key error.
Suggested solution: Quantities of old Product should be added to new Product and then deleted (in case of M_StorageOnHand it is M_AttributeSetInstance,DateMaterialPolicy and M_Locator_ID). After this will remain only records for old product which will not throw any error and could be updated by standard merge functionality.
When merging product entity, update M_StorageOnHand or M_StorageReservation throws unique primary key error.
Suggested solution:
Quantities of old Product should be added to new Product and then deleted (in case of M_StorageOnHand it is M_AttributeSetInstance,DateMaterialPolicy and M_Locator_ID). After this will remain only records for old product which will not throw any error and could be updated by standard merge functionality.