I ran into this issue when trying to install AX 2009 SP1 RU8 because it can't compile a bunch of objects that look like below. So the best way I can describe this is as follows using bogus id's:
Name | Layer | Object ID
MyFunObj | bus | 22003
MyFunObj | var | 31002
MyFunObj | cus | 22003
MyFunObj | usr | 31002
To remove the first question of how this happened, well, I don't know as I wasn't around when they did the initial implimentation of the system. I have a theory that someone did the var/usr layers for some reason but then copied in the layer file for bus and perhaps cus? I don't know and I have no way to find out to be honest.
But to the question, has anyone ran into this issue before?
Things I've tried:
#1) I've tried to log into the layers, export the changes for that layer out, and then delete the changes on that layer. That fails as it says the methods don't match or that i have dup object id's and it's not possible.
#2) Using UtilUIElements I've tried to select an object that I know is bad (say usr layer one) and try to change the object id to be that of the bus layer's id. Once I've had the object selected and the id updated, and committed the change back, it still doesn't actually change the id at all upon re-selecting the object back. To verify it wasn't a caching issue, I've stopped the aos', deleted the cache file, and then restarted it and let it rebuild the cache. Still the Id is not changed even then.
#3) I'm trying to browse through the AOT NodeTree and do just like #2 via that, but it's a slower process to do this, no result yet.
Pending if #3 fails, option #4 is to make an attempt to extract each layer file out to an empty environment and then export the change out, delete out the objects there and then put the layer file back into the real environment... But I don't know if this is really possible to do?
Sooo, I'm hoping that someone out there has some other ideas on this that would work? Thanks!