- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2017 02:37 AM
I want a Related List in User sys_user table, named "Direct Reports", which would display all the User who have me as their manager??
Tried This but not working
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2017 03:45 AM
Hey scotty,
I guess we already have OOB related list. Can you check that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2017 03:31 AM
Hi Scotty,
You should rather not use the advanced related list.
Query from user table and applies to user table.
<untested>
in the query
current.addQuery('manager',gs.getUserID());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2017 03:49 AM
Please read the below comments made by vartika . No need to create another relationship if an OOB already exists.
Great job!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2017 03:45 AM