- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:52 AM
Hi Team,
We have a record producer and also a mrvs within the record producer.
There is a field tax_code in record producer whose value we want to fetch and populate the same to the tax_code1 in mrvs after we click on Add rows in mrvs.
Any hints?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:07 AM
You can use a Catalog Client Script like this that applies to the MRVS
function onLoad() {
g_form.setValue('tax_code1', g_service_catalog.parent.getValue('tax_code'));
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:16 AM
Hi Bradd,
That is working fine thanks
But I need to fetch the display value as tax_code is a reference field.Hence I am using the below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:38 AM
Hello @Community Alums ,
The g_service_catalog API only has the getValue() method. It's not the same as g_form. You'll have to make "tax_code1" a Reference variable, same as "tax_code".
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:37 AM
@Brad Bowman its working now 🙂 I used GlideAjax with your syntax