- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 02:55 PM
Hi Guys,
Need some help with the reference qualifier...
I am trying to display the user's asset based on another reference field (sys_user) and the request type.
In the variable, I have the following:
This is the script include. I dont even have anything in there just a log. But that log is not even showing in the system log.
This is what I have in the system log:
As you can see, I am in a scope application. Not sure if that will make a difference.
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 04:02 PM - edited 07-31-2023 04:06 PM
You need to call your script include with your application scope prefix:
new x_rrdu2_mobility_e.eBondingUtils().getDevice(current);
The "x_rrdu2_mobility_e.eBondingUtils" comes from the "API Name" field on your script include. Right now your script is trying to run in the global scope since you don't have your scope specified, that's why it's saying that it's not defined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 04:02 PM - edited 07-31-2023 04:06 PM
You need to call your script include with your application scope prefix:
new x_rrdu2_mobility_e.eBondingUtils().getDevice(current);
The "x_rrdu2_mobility_e.eBondingUtils" comes from the "API Name" field on your script include. Right now your script is trying to run in the global scope since you don't have your scope specified, that's why it's saying that it's not defined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 07:13 PM
I did that before and it did not work. But this time, I also changed:
And it worked.
Thank you so much for responding to my question.