IBM Support

When the asset has the flag "Maitain hierarchy" checked, it can not be deleted / moved / swapped

Technical Blog Post


Abstract

When the asset has the flag "Maitain hierarchy" checked, it can not be deleted / moved / swapped

Body

I do not know if you have already noticed that in the main screen of Asset there exists a flag titled "Maintain Hierarchy?"

Well, this flag is evil ....

When you check it, the asset gets "stuck"

I mean, you can not move or swap or delete this asset.... And this flag becomes uneditable!

And as there are no limits to the worst, you can not uncheck it through the application ... never

If you try to move or swap this asset you will get the following error message:
BMXAA0074E - Asset XXX in site AAA is part of a hierarchy and cannot be moved or swapped; only the asset at the top of the hierarchy can be moved or swapped.

When you attempt to delete YYYY, Maximo throws the following message:
BMXAA0088E - Cannot delete asset from hierarchy if maintain hierarchy is set for the asset

But if you want to risk, you can do this through an update command:

UPDATE ASSET SET MAINTHIERCHY = 0 WHERE ASSETNUM = "XXXXX"
COMMIT;

After that you will be able to move / swap / delete the asset.

PLEASE!!! TEST FIRST IN YOUR DEVELOPMENT ENVIRONMENT AND THEN ... BUT ONLY AFTER .... AFTER TESTING .... MANY TESTS .... YOU CAN EXECUTE THIS IN PRODUCTION

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11130061