Convert the currency based on logged in User in Hardware Form

Sayantan Dutta1
Tera Contributor

Hi All,

 

We would like to know the feasibility of the following issue:

 

In Hardware form, when creating new assets is there any way to convert the currency of the following fields to the logged-in users' currency?

We have this feature in the Service portal for the catalog items where the price of the items is displayed in the correct currency as per the logged-in requestor's Country-code and Language.

But this does not work the same in Hardware form, where it only shows the US dollars by default. 

 

image003.png

Screenshot 2023-02-05 210915.png


Regards,

Sayantan

2 REPLIES 2

Community Alums
Not applicable

Hi @Sayantan Dutta1 ,

There are basically, 2 Properties which you would have to make it use :

glide.system.locale : Locale code to use for localization. Format is [language code].[country code] (e.g. en.GB for Britain fr.FR for France, de.DE for Germany, or ja.JP for Japan).<br/>
<br/>
NOTE: Do not change this value once a system has gone into production. If a user's locale must be changed, update the "Country code" field on the user record.<br/>
<br/>
The value of this property determines the system's default currency into which all prices are automatically converted before other sums or conversions are performed.<br/>
Changing this property after any price or currency fields have been given a value (for Service Catalog items, Assets, Project Tasks, etc.) may result in improper conversion or prices that sum incorrectly.

glide.i18n.single_currency :Use a single currency model. Display all currencies in the same currency code, regardless of a user's locale, country, or language code.

Use it as per your requirement.

 

@Sayantan Dutta1, @Community Alums, 

 

So there's actually a little bit more to it than that,

Indeed you need to check if the instance is set to "multi-currency" mode via the property you've mentioned, and indeed you also need to check what the default currency type is, but it also depends on the type of field being used.

 

There are two main types of fields to be aware of:

They each serve the own purposes, but you'll need to check which you are using on that form and become familiar with how they work (from the docs) and be aware of Currency Administration

Many thanks,
Kind regards

 

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization