- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2014 11:34 AM
How can I apply a reference qualifier to a department reference list. I want to control what the current user can see by a specific value in another field on the department table. I'm using Calgary so can't benefit from Eureka improvements for creating ref qualifiers.
For e.g. of what I'm trying to achieve.
All departments have a field called 'SSGROUP' (u_ssgroup on the cmn_department table). If we add the value 'ITDept' to this field, the user filling out a 'New Starter' form, should only see departments that have the 'ITDept' value in place. Query like u_ssgroupSTARTSWITHITDEPT
Access to the relevant departments is done by groups. e.g. the ITFILTER group on the sys_user_group table.
Can this be done as an Client Script on its own, or a client script calling a script include? I really could do with some help developing the scripts.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2014 07:46 AM
actually you dont need a onload script to pull the reference qualifier and put it to a field .... use the reference qualifier script in reference qual field as below
Reference qual for u_ssgrp : javascript: new userUtilsAjax().getUserDepartment()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2014 04:22 AM
Thanks Kalaiarasan
I did use a ref qual in the end.