Set default currency for Price field on form

Community Alums
Not applicable

Hi All,

I observed one ambiguity .

We had requirement to show Default currency as "Yen".

1) updated property as below

find_real_file.png

Output :

find_real_file.png

 

2) By mistake T gets capital , but i have checked output

find_real_file.png

Output : its coming as per Expected , default Yen currency and with drop down optionfind_real_file.png

And if i make its value as "false" its not showing "Yen" currency as default. 

Not sure , can I go ahead with Capital "True" as giving expected output. and where i should report this bug.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi All,

 

As we raised HI ticket for this ambiguity, They have not recommended such type of value only true/false need to be in value.

Solution Proposed:
As stated in the "Session and reference currency" product documentation:

When users view a currency value, they can see the value as entered or in the session-currency format. The format contains the:
- Currency symbol
- Value converted to the session currency and shown in a localized number format.
The user's locale determines the session currency format



As stated in the "Default currency values in forms" product documentation:

A combo box provides a list of currencies available in the system. The user's locale determines its format. When entering or changing the numeric value, format the value in the format specified by the user's locale. In the form for a new record, the combo box with the list of currencies has the reference currency selected, and the numeric value set to zero.



The only way to meet requirement, through supported means, is to set a user or system locale that corresponds to a default currency that you want users to have selected for currency fields.

For example, if you set your instance's system locale (it's "glide.system.locale" system property value) to "ja.JP", the Japanese Yen will be selected as every currency field's initial/default currency - for every user. If the "glide.system.locale" system property has no value set on the system properties table, its value will default to "en.US", thus, US Dollars will be the default currency for all users.
You can set a specific user's locale via their sys_user record's "country" and "language" field - which will be used to determine their locale. The default currency will be based on the user's locale (instead of the system's locale) if they have a locale set via the aforementioned fields.

To learn more about system locales, please reference the following product documentation:
Product Documentation - Locale settings

Mark it as Helpful if it helps you 🙂  

 

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please give boolean true only and not True

Although they are boolean type they are stored as strings internally as 'true' or 'false'

if you still want to keep as True that is fine

if you find this failing in future then raise a HI ticket with ServiceNow

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

Yes , its about failing in future . We are going to raise ticket with HI regarding this.

 

Is there any other option to show default currency "Yen" with dropdown option?

 

 

Hi,

I don't think so

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Manisha I 

Hope you are doing good.

Is this question resolved or you need some more assistance.

If you find my response solved your issue, please mark answer as Correct & 👍Helpful to help others with the same response find the answer more quickly

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader