cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can I change typecode from deployment table

Former Member
2,546

How can I change typecode from deployment table. While doing system update it is always saying duplicate typecode. I am changing from item.xml and doing clean all , then system update but still same error. I can see entry in ydeployments table. Should I delete the entry for our table from ydeployments table and then do system update again. Please advise.

Accepted Solutions (0)

Answers (2)

Answers (2)

geffchang
Active Contributor

You can't change Type Codes. This is the official documentation from Specifying a Deployment for Hybris Platform Types:

Secondly, bear in mind that Platform does not allow changing an existing deployment. This is done in order to protect data. If there were already some records in current deployment of a type or relation, and the deployment would get changed afterwards, then access would be lost to all those records.

Former Member
0 Kudos

As suggested you cannot change, what you will need to do is to introduce another type with required type code, migrate items under "wrong" type code to the new item type and then you will be able to remove the type with wrong type code by executing cleaning type system procedure