- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2022 07:48 AM
Hello experts.
I am trying to configure the 'New' button on a related list.
The goal is to link the parent and child records so that when I click on 'New', the parent's record information is passed to the child record.
the parent table name is :: x_337431_vendor_ma_order
the child tables name is :: x_337431_vendor_ma_vendor_proposal
I tried to follow this article:: https://community.servicenow.com/community?id=community_question&sys_id=96a2c7de1b468954ed6c9979b04bcbff
but no luck
here is what I tried::
here is the parent-child records::
NOTE: The reason why the name of the button is 'New4' is because I was looking to see which button was driving that action on another table. I found the button but realize that I needed to something else since the functionality is already there, I just need to create a correct UI parameter
The reference field in the child table is 'order_reference'
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2022 09:11 AM
Hi Juan,
If this is new related list, your Script query should filter parent field with your parent table.
Also can you confirm what is the Reference Table of Parent field in your child table 'x_337431_vendor_ma_vendor_proposal'. If it is your desired Parent table only, it should take automatically what I believe.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2022 09:11 AM
Hi Juan,
If this is new related list, your Script query should filter parent field with your parent table.
Also can you confirm what is the Reference Table of Parent field in your child table 'x_337431_vendor_ma_vendor_proposal'. If it is your desired Parent table only, it should take automatically what I believe.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2022 10:50 AM
I added a screenshot
The reference field in the child table is 'order_reference'