- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2021 09:32 PM
I need to show the parent RITM number in the Related lists in the catalog task form. Please help me in this.
Thanks,
Regards,
Saloni
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2021 09:52 PM
@Saloni
Create a new relationship under System Definition> Relationship
(function refineQuery(current, parent) {
current.addQuery('sys_id', parent.request_item);
})(current, parent);
Let me know if it works for you
Thanks
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2021 10:54 AM
Hi,
Follow below steps:
Define Relationships
-----------------------------------
1. Create new Relationships (System Definition>Relationships)
2. Provide Name : "Requested Items" (or any name as per your choice, just remember this name would be the header of the tab)
3. Applies to Table: "Catalog Task"
4. Queries from table: "Requested Item"
5. In the Query window
current.get(parent.request_item);
6. Save.
Configure Catalog Task Form Layout.
---------------------------------------------------
1. Open the catalog Task form.
2. Right Click > Configure form layout.
3. Click Related Lists.
4. Select the Newly created relationship
5. Save.
Mark helpful & Correct if it works!
Thanks
Johnny
Please mark this response as correct or helpful if it assisted you with your question.