Is there a way to create loaner consumable assets?

JenOn
Tera Contributor

We have a need to track loaner phone and laptop chargers. 

 

We have added charging cables to the consumable asset table since they don't have serial numbers. 

 

On the consumable asset records on the alm_consumable table, there is the ability to set the "Asset Function" to Loaner.  This makes the related list for 'Loaner Asset Orders' appear on the record.  However, when you go to create a Loaner Asset Order, the consumable isn't visible in the models dropdown.  Is there an extra step that I'm missing that would allow the consumable to show in the dropdown?  Currently I'm only seeing hardware assets (alm_hardware) where the Asset Function is set to Loaner in the Model dropdown on the Loaner Asset Order form.  

 

Thanks.

 

 

 

2 REPLIES 2

Nilesh Pol
Tera Guru

@JenOn 

On the Loaner Asset Order form, when selecting a model, the model dropdown is filtered to only show models of type Hardware, i.e., linked to the alm_hardware table — not consumables like charging cables.

Even though you’ve marked the Asset Function = Loaner on your consumable asset model, the model still doesn’t appear because the dropdown is implicitly or explicitly filtered to show only models where:model_category = Hardware.

You need to modify the Model reference qualifier (or view rules) on the Loaner Asset Order form so that it includes Consumable models (alm_consumable_model or general cmdb_model with type = Consumable).

JenOn
Tera Contributor

Thanks, Nilesh.  I'm having trouble figuring out exactly how to modify the Model reference qualifier on the Loaner Asset Order form.  Are you able to help me navigate to exactly where I need to make this change?  I assume it's in one of the Script Includes however, I cannot figure out which one.