Starting from PBA version 5.5, a Provider can choose the algorithm to be used for calculating days in month for proration:
Days / number of days in initial month (PBA original algorithm used by default).
Days / actual number of days in current month.
- Days / 30 (fixed number of days).
Warning: When Provider changes algorithm, it affects all active subscriptions and switching may cause inconsistency. The reason is that existing Orders were calculated using the previous algorithm. Contact Parallels account manager and support before switching the algorithm.
To change the algorithm of calculating the days follow the instructions below:
Open the global.conf file on the PBA application server in editor:
Add to the [environment] section the string TIMEDIFF_ALGORITHM = %DESIRED_VALUE%. For example: TIMEDIFF_ALGORITHM = MONTHDIFF_ALG_30DAYS_BASE
Open the global.conf file on the PBA application server in editor, the default path is C:\Program Files\Parallels\PBA\etc\ssm.conf.d.global.conf.
Add to the [environment] section the string TIMEDIFF_ALGORITHM = %DESIRED_VALUE%.
net stop ssm net start pba
Supported values for the TIMEDIFF_ALGORITHM parameter are: