Need clarity on the data mention in Reference qualifier

suuriyas
Tera Contributor

HI Community,

 

Can anyone explain what exactly this means, this  is a variable in catalog, I'm trying to understand what it means

please elaborate this so that i can understand from where and how it is getting filtered

suuriyas_0-1743666242510.png

 

1 ACCEPTED SOLUTION

sejal1107
Tera Guru

Hi @suuriyas 

 

Reference qualifiers in ServiceNow are filters that restrict the data that appears in reference fields. They help refine the choices available in a reference field by defining conditions that the referenced records must meet.

 

Highlighted part is syntax for Reference Qualifier - Advanced 

 

javascript: new myScriptInclude.myNewFunction();

in your case x_kaoy_finops.Vendor_Utils() this is script include (x_kaoy_finops is application)

getCompanyCodeItem() this is function.

 

Return paremeter from above script include and function will be used as choices for reference

 

 

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan

View solution in original post

6 REPLIES 6

Shivalika
Mega Sage

Hello @suuriyas 

 

The x_kaoy_finops.Vendor_Utils() - this is a script include and getCompanyCodeItems() - this is the function in the above mentioned script include. 

 

So exactly what this function is doing well can figure out. Just go to "Script Includes" in the left navigation and search with the name there (NOTE - COPY pASTE IT) , then within the script include - you will find search feature again - search with the function name there - again NOTE copy paste. 

 

Then you will land in exact function and if you don't get what that function does, just share the screenshot here, and we will help figure out. 

 

I hope this answers your query precisely. 

 

Cc - @Dr Atul G- LNG 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY QQ

Shivalika
Mega Sage

Hello @suuriyas 

 

A suggestion, We can now accept multiple solutions in servicenow community. So you accept all the others also who you found is accurate and is valuable 😄 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY QQ