Show Catalog item if the asset state is "In Stock" and Sub State is "available"

Gulfam Shafee3
Tera Expert

I want to show to catalog item on portal if the asset state is "In stock" and sub state is "available". Otherwise hide the catalog item. 

6 REPLIES 6

ASA5
Kilo Sage

If you already know the asset you can use the advanced part of User Criteria.

ASA5_0-1706626865637.png

 

However if the user choose each time different asset it will be tricky to hide the item, you can use client script to prevent the item submission or show a message that the asset is not available.

Hi ASA5, 

 

Requirement is if the asset is not in stock then catalog item should not be visible to user to select. 

 

eg:  I have 20 ThinkPad in stock, catalog item should be visible till the last ThinkPad is in stock, if the state for all the ThinkPad changed to other state then it should not be visible on portal, if new asset added or old asset back to stock then catalog item should be available.