- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 09:59 AM
I have a table A which has a reference field KO which is referencing to a extended table B which is an extended table of User (sys_user) table.
I am trying to create a report on Table A with filter condition as KO = gs.gertUser() which is not returning any value. I tried several ways to filter as below:
KO.Sys ID = gs.getUser().getD()
KO.Name = gs.getUser().getName()
Is there anyway to do it other than using ACL?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 10:04 AM
You have to use report filter like this
KO.Sys ID = javascript:gs.getUserID();
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 10:03 AM
Have you tried gs.getUserID()? That should be passing the sys_id of the current user. If you don't use it in a dynamic filter condition, you will have to do something like:
KO is javascript:gs.getUserID()
Even more ideally, you should be able to use the condition as such: KO is(dynamic) me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 10:04 AM
You have to use report filter like this
KO.Sys ID = javascript:gs.getUserID();
Regards,
Sachin
