Caller field reference qualifier dependent on Company OR MyCompany

ralphalberti
Kilo Expert

I have a simple reference qualifier setup for the Caller field which is dependent on the Company field. Works fine.

My issue is that I need the reference qualifier to allow Users from the value in the Company field OR my own Company which is called Novitex.

Can I create this OR using the Condition Builder or do I need javascript? I'm not really a coder but can usually get by with some examples.

The Dependent field is Company.

Screen Shot 2017-07-27 at 5.33.53 PM.png

13 REPLIES 13

Name the function in the Script includes to be the name of the script includes. In this case enhancedCaller.


Then in dictionary of caller, use: javascript:enhancedCaller()


Where do I send the case of wine? Thank you so much. That works awesome.



--Ralph


You're welcome. Glad it worked out.


Sorry to bother you again. I ran into a bit of a performance issue with too many Users getting returned.



One thing I definitely missed is adding Active is True.



Can you show me what I'd need to add to your code above to filter on Active is True?



Thanks,



--Ralph


You can add after line 5: comp.addActiveQuery();


that will limit the query to active records only