I have a static entity with autonumber on in Module A and need to move it to module B because of architecture violations.
Refactor tool is not suitable for OS11.
Is there a description how to do this process
Posts in he past reference the Refactor application. But that isn't compatible for OS11 (and also not for Static entities) hence my question for the manual approach.
Thanks!!
Hi Peter,
You should copy/paste the static entity, then set the "Is Autonumber" property of the Id to No, and fill in the right integer values (you can open the original static entity to see what the values are). Next, publish the module with the "new" static entity, and then fix all foreign keys to that static entity in all other entities (and publish, then refresh all consumers of those entities), and fix all references to the new static entity. (And somewhere in between you can remove the old static entity of course.)
You can move it to another module manually, and make sure to keep the autonumber OFF this time.
If you only care about the data in Production, then it comes very easy to achieve. Just match the new IDs with the ones you have in Production database.
Otherwise, it might be a bit of data migration overheads initially, but it will be a long term solution to keep them without autonumber.
Hi @Peter Van Den Ochtend
You Can right click on Static Entity Name and Copy it and paste it wherever you want and after pasting set IsAutonumber property of ID to No.
Regards
Thanks for the responses. I postponed it because of the different ID’s on each environment and the delivery pressure at the moment.