Model Name Reference Qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2018 10:09 AM
I would like to modify the out-of-the-box reference qualifier for the model field on the alm_asset table. There is a column on the model_name table (status) where you indicate if the model is "In Production", "Retired", or "Sold". I only want users to be able to select models that are "In Production" for new asset record entries. This is the current script for the reference qualifier. How do I add to it to only display models where the status value is "In Production"? Thank you for your help. I'm not well versed in writing scripts.
javascript:new ModelAndCategoryFilters().assetModelRefQual(current)
This is the status column.
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2018 04:10 AM
This worked perfectly! Thank you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2018 07:00 AM
Awesome glad this worked for you. Can you please mark this post as answered so others viewing can benefit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2018 03:47 AM
For whatever reason, it won't allow me to mark it correct. I will try and figure out why. Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 08:23 PM
That's a really nice Michael Ritchie. This should have been marked as the correct solution. I didn't know you could do what you just did. Great outcome. It worked for me. Thank you.