"Use 3 decimal places or less" error when editing money type fields using non-English locale
search cancel

"Use 3 decimal places or less" error when editing money type fields using non-English locale

book

Article ID: 376857

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

"Use 3 decimal places or less" error when editing money type fields using non-English locale

STEPS TO REPRODUCE:

1. Go to Studio > Objects > Project object
2. Create a money type attribute and API enable it.
3. In MUX > Go to a project blueprint and add the field to the project properties.
   You can also add it to the grid view or details view.
4. Edit the field and add a number: 8.25 
5. The field value saves as 8.25 $
6. Change the user locale to German, Italian.....
7. Edit the field on the grid and try to change the value to 9,85 $. The value is saved
8. Edit the field on the Details Fly Out and try to change the value to 10,85 $

Expected Results: The value changes to be saved.


Actual Results: The field validation errors: Use 3 decimal places or less

Environment

Clarity 16.2.3

Cause

DE153705

Resolution

Workaround: Perform the edit of money and number type attributes on the grid view.

DE153705 is fixed in 16.3.0 (Targeted to release November 2024) and also backported to 16.2.3 patch 1 

Additional Information

With number type attributes the non-English locale also causes issues. You might see the following error: CMN-0008: Attribute 'myattribute' data type is incorrect.

This also happens only on the Details Fly Out. On the grid you can do the changes