Troubleshooting: ICU4J update available for Vietnamese Dong currency type
Summary
Your Solution Framework applications might include functions related to currency formatting that depend on the PRPC emulation of the IBM ICU4J Java library, as described in PRKB-24150 (Additional Information). Recent changes to the Vietnamese Dong (VND) currency can be applied with an update to this PRPC library in the event that a JVM update is not available or not possible in your environment.
HFix-5373 updates the file com/pega/ibm/icu/impl/pega/ENCurriencies.xml
, contained in pricu2jdk
, to provide a currency decimal precision override for Vietnamese Dong (VND).
(The misspelling of the XML file name is as it appears in PegaRULES Process Commander.)
The file ENCurriencies.xml
now sets the number of fractional digits associated with the VND currency to 0 rather than 2. The currency type=”VND”
is set to digits="0"
as shown in this example:
<currency type="VND" digits="0">
<displayName>Vietnamese Dong</displayName>
</currency>
Alternative
As an alternative to applying HFix-5373, consider updating your JVM to a release in which BUG-7129382 is corrected. If a JVM update is not feasible, apply PRPC HFix-5373.
Suggested Approach
- Contact Pegasystems Global Customer Support (GCS) and request HFix-5373.
You must contact GCS to obtain this hotfix because the nature of this update precludes it from being available on Hotfix Self-Service and installed with the Update Manager.
- Install HFix-5373. Click Application -> Import & Export -> Import to import the one XML file,
com/pega/ibm/icu/impl/pega/ENCurriencies.xml
.The misspelling of the file name is as it appears in the HFix-5373.jar file.
Additional Information
International date/time and currency processing depends on Process Commander version
References
Java Technology Bug Database
Sun JVM Bug 7129382 Java Localization: change minor unit of VND to 0
ISO Amendments
12 January 2012: ISO 4217 AMENDMENT NUMBER 153 The Central Bank of Vietnam changed the minor unit for the Dong from 2 to 0.