Search Engine: Elastic

Article ID: 131814, created on Nov 24, 2017, last review on Nov 24, 2017

  • Applies to:
  • Business Automation 7.0
  • Business Automation 7.1
  • Business Automation 7.2

Symptoms

Currency symbols for prices are shown in CCP v2 in a different way depending on the current user locale. For example, the dollar sign ($) is displayed after the price in the German locale but for the English one it is shown before the price:

**de_DE** locale: 123.456,79 $
**en_US** locale: $123,456.79

Meanwhile, in CCP v1 or PCP/RPC prices are displayed according to the localization files settings defined as stated in the Billing Localization Guide.

Cause

For currency formatting, CCP v2 uses the "Intl" library that is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting. Since OA version 7.0 support of Intl library has been added for a proper formatting of amounts and dates. It means that each currency symbol is displayed differently depending on the current locale the CCP is displayed in.

These values are returned by the Intl library and ISO currency codes are used for such conversions. One of the sources that can be used for reference is Intl object on the MDN Web Docs portal.

Feature Request #PFR-1119 was submitted to unify a way the currency symbols are displayed in PCP/RCP/CCP v1 and in CCP v2. This Feature Request will be reviewed by the development team to find a way of implementing this functionality in the upcoming version of the platform. Contact your Technical Account Manager or Pooled Technical Associate Team at pta@odin.com to clarify the status of #PFR-1119.

7c0b495571a6c1bec50e4f324a20ec14 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 198398b282069eaf2d94a6af87dcb3ff b2c3b33425dfc50c7d41a2efaa7f84f3 c0f836394088a28cc30dd0e5fe8b600e ef171e3fccb12bd8e09076a7b49212c0

Email subscription for changes to this article
Save as PDF