Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 02:40 PM - edited 04-25-2024 02:57 PM
Can someone please help me with this script?
I need to add a scripted relationship for a Related List on the Order Task table for attachments from the associated Customer Order.
Here is the code I have:
(function refineQuery(current, parent) {
current.addQuery('table_sys_id=' + parent.parent.parent.sys_id);
})(current, parent);
But it is returning all the attachments with empty Table Sys IDs
(see attached)
Help is greatly appreciated!!
Thank you
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 03:08 PM
Try:
(function refineQuery(current, parent) {
current.addQuery('table_sys_id=' + parent.parent.order_line_item.order.sys_id);
})(current, parent);
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 03:08 PM
Try:
(function refineQuery(current, parent) {
current.addQuery('table_sys_id=' + parent.parent.order_line_item.order.sys_id);
})(current, parent);