Multiple Model Categories to have same CI Class

manju9
Tera Contributor

Requirement

Create below Model categories.

  • Laptop
  • Notebook
  • Desktop

All the above Model categories are created with the same CI class cmdb_ci_computer.

Based on the above-selected model categories, an asset is to be charged monthly

  • Laptop = $10
  • Notebook=$20
  • Desktop=$40

Query:

1. Do we have any implication if we create model categories with the same ci class? If yes what is the alternate approach in which we can classify the asset is a laptop or notebook or Desktop and calculate the monthly price accordingly?

3 REPLIES 3

Kieran Anson
Kilo Patron

Hi,

A model category has a one to one relationship to a CI class meaning only one CI class can be associated to one model category. Your requirement above would be brought down a level to product models and define the difference at that point.

Hi, Checking in on whether my reply resolved your issue? If so please Mark Correct and /or 👍 Helpful if you find my response worthy based on the impact.
By doing so you help other community members find resolved questions which may relate to an issue they're having.

Thanks for the assistance. I understood that Model Category and CI class have one to one relationship.

Also if we bring the categorisation at the Model level, I believe it will be drown down list with all those Model categories. Since the requirement says it should also be configurable where a member from a group can create the Model categories and associate cost with it. 

My understanding is to

1. Provide access to CI class manager to create Model categories

2. Create custom child CI class and create Model categories by selecting the custom CI class

 

Kindly let me know if there are any other better approach