Need to set country code to "None"


Need to set Country code to "None" on the sys_user or any related table. Usually, the column "Country Code" is s string type with choices defined on it. This column is extensively used in currency. The choice values for this column are generally country codes.

By default, the column does not have a None option though the choice is defined as "Dropdown with --None--".

Release or Environment

All Releases


This is because of a choice "javascript:'System (' + GlideLocale.get().getCurrent().getCountry() + ')'" added for the column. This choice is responsible for removing the None option and getting the country code value based on locale setting. 


You may consider to inactivate it if you want the None option too. Make the related choice record with value "NULL_OVERRIDE" as Inactive "True".