- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I need to fetch total cost field from selected contract record in my catalog item and auto populate that fetched total cost value into cost variable (single line text)
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Chandana,
My thoughts on this relate to the system locale of the user. It's possible that the contract value in the cataogue item (e.g. Euro) is in a different currency to the value (e.g. US dollars) in the contract record.
If the country set up in your sys_user record is a country where Euro is the currency, then this will display in the catalogue item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
is contract a variable on your form?
share your screenshots.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Ankur Bawiskar
Yeah, it is reference variable refers to contract table(ast_contract) but total cost from selected contract record is not auto populating correctly in total cost variable (single line text)
total cost from above selected contract record
Thaks and Regards,
Chandana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
no scripting required
you can use auto populate feature in catalog item
Auto-populate a variable based on a reference type variable (Utah)
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Ankur Bawiskar
i used auto populate feature for total cost variable it not working as expected.
