Support Article
Error on Adjustment template
SA-62010
Summary
USD currency requires two decimal places to display an amount. However, error occurs on the Adjustment template despite entering an amount with two decimal places.
For example, 123.20
Error Messages
The currency 'USD' requires exactly 2 decimal places.
Steps to Reproduce
- Log in to Pega Smart Investigate for Payments 7.31.
- Create an Adjustment template.
- Change the 'Default Amount From' to 'Literal' and enter '123.20' as the 'Amount From value' and 'USD' as the default currency.
- Click Save.
Root Cause
The error occurred because the input value '123.20' was truncated to '123.2'.
Resolution
Apply HFix-45613.
Tags:
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.