- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 12:46 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:04 AM - edited 04-03-2025 01:12 AM
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
Thanks & Regards
Sejal Chavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:04 AM - edited 04-03-2025 01:12 AM
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
Thanks & Regards
Sejal Chavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:06 AM
Hi @suuriyas
I might be 100% wrong, but I think it's pulling the data of the company code, which is stored in the x_finops.vendor
table.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:12 AM
Hi @suuriyas
I told you i Might be 100% wrong, as i am also learning scripting.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:10 AM
Hello @suuriyas , Highlighted part here is a call to scoped Script Include, Vendor_Utils, which calls a method, getCompanyCodeItem(), inside it.
you can go to Script Include and search for this one and once you open, you should be able to understand the usage.
Regards,
Nishant