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
Kilo 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.

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

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
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: