- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 11:28 AM
I have a currency field called 'Total' that is read only. The value of the field is the product of 2 other fields called 'Rate' and 'Hours'. Total's value is updated by an onChange client script, but the value is not saved because of the read only property. Is it possible, perhaps by script include, to save the fields value when the form is saved or updated?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020 11:12 AM
I solved this problem by having a second currency field that was hidden from the form, but not read only. Then I copied that value from the hidden field to the read only field with a business rule. Thanks everyone for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 11:34 AM
That should be doable from a Business Rule.
Since currency can be tricky i suggest you check out the following to see what you have of options
https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/currency/concept/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 11:41 AM
Hi Michael ,
Please refer to below link:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0759078
https://community.servicenow.com/community?id=community_blog&sys_id=583eaa6ddbd0dbc01dcaf3231f9619fa
please mark it as helpful (or) correct if it fix your issue.
Thanks,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020 11:12 AM
I solved this problem by having a second currency field that was hidden from the form, but not read only. Then I copied that value from the hidden field to the read only field with a business rule. Thanks everyone for the help.