Need to populate the reference field value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 01:54 PM
In the Transform map Target table,
1. Field 'A code' based on that value we need to update A site field value.
Site Code value available from location table. Based on that site code we need to retrieve the Name field value.
Can you provide me with any code or instructions to obtain this logic?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 03:40 PM
Hi @SNOW17 ,
In the transform mapping you can write the script and get the Site display value based on Code via glide query.
the location table must have code for each record, so you search the matched record and set the record sys_id to Site field ( because its reference field ).
write some code and share if you need more help.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 05:49 PM
Could you please review the code above and let me know if there are any errors or corrections needed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 06:06 PM
Could you please review the code above and let me know if there are any errors or corrections needed?