How to show the associated RITM in the related lists of the catalog task form

Saloni9
Giga Contributor

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

1 ACCEPTED SOLUTION

Murthy Ch
Giga Sage

@Saloni

Create a new relationship under System Definition> Relationship

(function refineQuery(current, parent) {

    current.addQuery('sys_id', parent.request_item);

})(current, parent);

find_real_file.png

find_real_file.png

Let me know if it works for you

 

Thanks

 

Thanks,
Murthy

View solution in original post

5 REPLIES 5

JohnnySnow
Kilo Sage

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

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.