How do you delete a category in the asset type list ?

I made a mistake of creating a new asset type with the sub categorty of department and need to delete.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
There is nothing called a category in assets. I am going to guess that you mean you have:
  1. an asset type TYPEA that is referencing another asset TYPEB.
  2. This also means that TYPEA has a field with a field type of TYPEB.
  3. when you try to delete TYPEB you get an error saying This Asset Type can not be deleted as it is associated with another Asset type.
What you need to do is find the field from #2 and delete that field or modify it's field type. if you have many assets a clue to this would be found by running this query (reports->add new report from SQL)

select AT.NAME "asset type you might be trying to delete",
AT2.NAME "asset where the field to clear resides",
FD.FIELD_NAME "field to modify or delete first"
from
ASSET_TYPE AT
join ASSET_FIELD_DEFINITION FD on FD.FIELD_TYPE=CONCAT('ASSET_',cast(AT.ID as char))
join ASSET_TYPE AT2 on AT2.ID=FD.ASSET_TYPE_ID
order by 1
Answered 01/12/2012 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
Didnt work, what it shows is:

ASSET TYPE DETAIL

Record created:

Record Last Modified:

Name: Chicago

Category: Department
Answered 01/13/2012 by: aa136
Yellow Belt

Please log in to comment
0
You're really not giving me much to go on. You may need to open a ticket where someone can help you collect more information.

Another guess: you created an asset type called Chicago instead of an asset? How are you deleting it? This all depends on the fields you defined etc. Or perhaps you just renamed the existing asset type of Department?
Answered 01/13/2012 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
Deleting the asset Type can't be accomplished until all assets of that type are removed. Delete the assets, then you can delete the asset type. Hope that helps.
Answered 01/15/2012 by: cblake
Red Belt

Please log in to comment
0
Deleting the asset Type can't be accomplished until all assets of that type are removed
You can delete an asset type with members. This is why I was guessing about the asset type associations.
Answered 01/15/2012 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
Perhaps you are trying to delete the OEM type called "Department" but you renamed it to "Chicago"? You cannot delete the OEM types so probably the best thing to do is rename it back to Department.
Answered 01/16/2012 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity