Error Message appears only in Workspace :The fraction part of a currency value cannot exceed 4 digit

MakhanlalM
Tera Contributor

i am getting this error message in SPM demand  and project workspace . system properties  which is already set to true : glide.currency_price.use_all_fraction_digits

MakhanlalM_1-1778161276516.png

 

3 REPLIES 3

Tanushree Maiti
Tera Patron

Hi @MakhanlalM 

 

As per Change default currency decimal places 

 

TanushreeMaiti_0-1778165892695.png

ServiceNow Workspace components perform stricter validation on the client side than standard forms. Workspace uses "field watchers" that trigger instant validation when a field loses focus, while the standard UI might allow invalid data to be sent to the server for rounding.

 

 

 

what would be the way to resolve it 

Hi @MakhanlalM 

 

  • Try to add scale=2 (or the desired number of decimals) to the attributes section of the currency field
  • During data imports or via scripts - Ensure that data imported into a Currency field does not exceed four decimal places to prevent the system from triggering the warning