Going from 2013R2 to 2018
The database has multiple companies and the item category and product group tables have been modified to have their data per Company set to NO
It fails on the first Company, running the data upgrade in serial mode.
It's failing on
The function UpdateItem in the company initialization codeunit 104000 in company ABC has failed due to the following error: 'Unable to upgrade Product Group (MEDICAL,CONSUMABLE) because of Code duplication. Please make sure that this product group has a unique Code, and retry the upgrade.'..
product code CONSUMABLE only exists for item category code MEDICAL, it's not duplicated in any other item category
What can I do?