on 2018 Oct 17 3:34 PM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.