Article ID: 116095, created on May 15, 2013, last review on Nov 9, 2015

  • Applies to:
  • Business Automation

Symptoms

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).

Resolution

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:

Linux

  1. Open the global.conf file on the PBA application server in editor:

    vi /usr/local/bm/etc/ssm.conf.d/global.conf
    
  2. Add to the [environment] section the string TIMEDIFF_ALGORITHM = %DESIRED_VALUE%. For example: TIMEDIFF_ALGORITHM = MONTHDIFF_ALG_30DAYS_BASE

  3. Restart PBA:

    /etc/init.d/pba restart
    

Windows

  1. 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.

  2. Add to the [environment] section the string TIMEDIFF_ALGORITHM = %DESIRED_VALUE%.

  3. Restart PBA:

    net stop ssm
    net start pba
    

Supported values for the TIMEDIFF_ALGORITHM parameter are:

caea8340e2d186a540518d08602aa065 198398b282069eaf2d94a6af87dcb3ff e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF