Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Invalid currency code

SA-39097

Summary



When user tries to open a case, in the background, it is observed that the system writes an error message ("INVALID CURRENCY CODE") in the log file. Even though there is no functionality issue, the error is reported in server logs.

Error Messages

[TABTHREAD1] [ ] [vestDepositApp:02.02] (rency.CurrencyPropertiesLookup) ERROR itgsyddev719-vip3| - Invalid currency code : 420000.0
[TABTHREAD1] [ ] [vestDepositApp:02.02] (il.currency.CurrencyCodeMapper) ERROR itgsyddev719-vip3| - Invalid currency code : 0.0
[TABTHREAD1] [ ] [vestDepositApp:02.02] (rency.CurrencyPropertiesLookup) ERROR itgsyddev719-vip3| - Invalid currency code : 0
[TABTHREAD1] [ ] [vestDepositApp:02.02] (rency.CurrencyPropertiesLookup) ERROR itgsyddev719-vip3| - Invalid currency code : 0
[TABTHREAD1] [ ] [vestDepositApp:02.02] (il.currency.CurrencyCodeMapper) ERROR itgsyddev719-vip3| - Invalid currency code : 0.0


Steps to Reproduce



1) Create a section and drag any layout to the section. In the layout, use one text filed and change the control to pxNumber.
2) In the presentation tab, select Symbol as Currency and Local currency.
3) Load the case and observe the error in the logs.


Root Cause

The reported behavior is caused due to configuration issue.
The
section is configured incorrectly. Under read-only format in presentation tab of the decimal property(say test), 'Other currency' property reference should hold 3 letter ISO currency code such as USD, INR etc. where as it is bound to the same decimal property(test) which contains the value. This is an invalid configuration hence the error was observed.


Resolution



Perform below local change:
Select currency symbol as LocalCurrency instead Other currency.

Suggest Edit

Published July 27, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us