Starting from PBA 5.4 Update 4, it is possible to use up to 8-digit precision for pricing.
I. Enable extra currency precision:
Edit the currency configuration file on the PBA Management Node:
PBA for Linux: /usr/local/stellart/share/currencies.txt
PBA for Windows: C:\Program Files\Parallels\stellart\share\currencies.txt
Find the needed currency, and change the default Precision and Accurate Precision field values according to your needs.
- Precision is the number of digits after the comma, which will be displayed on all fields of AR documents in PBA (except for the "Unit Price" field in the Sales Order, which will be displayed with the precision set by Accurate Precision).
- Accurate Precision is generally the precision used for inner billing calculations, or the number of digits after the comma that are taken into account in PBA pricing.
Accurate Precision is supposed to be greater than Precision.
For example, if it was USD 840 2 4, you can change it to USD 840 5 7.
- USD - currency name
- 840 - currency code
- 5 - Precision
- 7 - Accurate Precision
In this case Accurate Precision = Precision+2, but you are not limited in selecting a number of digits when setting the precision.
PBA for Linux:
# /etc/init.d/pba restart
PBA for Windows:
net stop ssm net start PBA
II. Set up the notification templates:
PBA 5.4: Communication Director > Notification Manager > Notification Templates
PBA 5.5: Home > System > Settings > Notifications > Notification Templates
ARDoc Detailsnotification subtemplates (there may be some different (sub)templates using the same placeholders) and replace the standard placeholders
@@Detail_UnitPrice@ @@Detail_UnitPrice_With_Taxes@ @@Detail_UnitPrice_WO_Taxes@
with the following ones:
@@Detail_AccurateUnitPrice@ @@Detail_AccurateUnitPrice_With_Taxes@ @@Detail_AccurateUnitPrice_WO_Taxes@
III. Change the price precision in the store:
PBA 5.4: Home > Product Director > Online Store Manager > Languages
PBA 5.5: Home > Products > Online Store > Languages
choose the required language and replace the
CURRENCY_DECIMALS_NUMBERvalue with the desired precision (number of digits after decimal point)
- Synchronize the store.
IV.* For price in CCP for PACI subscriptions edit POA property:
POA 5.4: Parallels Operations Automation > Top > System Director > Configuration Manager > System Properties -> Number of decimal places for the default PACI currency
POA 5.5: System > Settings > System Properties -> The number of decimal places for the default Cloud Infrastructure currency