- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2018 04:08 AM
Good day all!
I have a catalog item that is only visible for specific group of users. I also need to hide the request, the requested item and any task associated to it.
I used entitlement script so no other users can order the item. What is the best way to hide the request, requested item and task to other users. It should not be searchable to others.
Thanks in advance for your help.
Regards,
Jocelyn
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2018 04:24 AM
Before query business rules on mentioned tables will do the trick for you.
Use with caution as if there are large number of such records, it would affect system performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2018 04:23 AM
Hi Jocelyn Leong,
How about using before query business rule?
Thanks,
Kartik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2018 04:24 AM
Before query business rules on mentioned tables will do the trick for you.
Use with caution as if there are large number of such records, it would affect system performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2018 06:44 AM
Thanks Ravi and Kartik!
Appreciate your assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2018 04:26 AM
Hi,
When you add someone into the available for then that is basically the user criteria
so what you can do you can check the user criteria and if the person exit in the user criteria then try to find the item name
when you are able to get the item name query the RITM table and query on item name then fetch all the RITM belongs to that item, Similarly by using the same fetched RITM you can get the TASK and the request
And then try to hide and show on the basis of all this
Thanks
Ayush
Please Hit Correct, Helpful or like,if you are satisfied with this response.