- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 03:55 AM
Hi
i have a field with data type price
how can i set the value and currency code of this field. i have tried
current.test = "GBP;100";
but it seems to work for the currecy data type but for price data type its not working pl help
Regards
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 05:48 AM
Is it possible to change form using a price field to a currency field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 03:58 AM
I presume you've already looked here for information...
Scripting Currency and Price Fields - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 05:45 AM
Thanks Chuck for you time. Yup i have read the wiki but it works for the currency fields for the field which has data type price it does not work
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 05:48 AM
Is it possible to change form using a price field to a currency field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 05:51 AM
yup i guess i will introduce a new field and hide the old one