Display session currency code on catalog item on portal

Rikke Badsberg1
Tera Contributor

Hi experts!

 

I am trying to display the session currency code on a catalog item, while the user is filling out the form on Employee Center.

The problem is: A user fills out a non-standard request about purchasing something that is not in our service catalog. The user has to specify a price, but currently it is just a single line text field limited to number. When the form is submitted and the requested item is created, a flow saves the price of the text field to the price of the ritm. That price is stored in the session currency, meaning a user from USA saves it in USD, while a user from Germany saves it in EUR. This causes a lot of confusion, as they do not know which currency to type it in. (Like do a user from Germany need to convert it to USD before typing it in) 

 

The need is: show what currency the session currency is, on the form, so the user knows what to type in. 

Like: 

Price field: single line text field

Currency, read only field showing one of USD, EUR, DKK. 

 

Do any of you have a suggestion? 

 

I tried looking through a lot of documentation, like How to use different currencies on a SerrviceNow instance - Support and Troubleshooting (servicenow....

I hoped that "getSessionCurrencyCode()" could do the trick, but that is not possible to call through a client script on load.

 

Thank you a lot!