View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] planification calculation question - Page 2 - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

[SOLVED] planification calculation question

More
15 Oct 2019 08:32 #7 by pipobru
Hello,
with the last version my problem is the same. If i have un pool with 5 ETP capacity the planning calculation function can planne for a same day 5 tasks with 1 day of charge on same time. For this task the result is good for me. The problem is when i have a task with 5 days of charge, any other task do not planned in same time with this task.

in synthesis:
if i have tasks with 1 ETP and one day the plannification with pool is good. (all tasks can be planned on same time, with the max capacity of pool)
If i have a task with more charges (> 1 day) and 1 ETP can be work in same time, any other task can't be planned in same time.

Any error in trace.

I have requested my boss for participate at the next formation in PAris !
Very thanks for your help.
Bruno.

Please Connexion or Create an account to join the conversation.

More
16 Oct 2019 10:38 #8 by babynus
Hi,

Issue is identified and fixed.
Fix is to replace lines 919+ in model/ResourceMain.php from
public function getWeekCapacity($week, $capacityRate=1) {
      $weekDay=date('Y-m-d',firstDayofWeek(substr($week,-2),substr($week,0,4)));
      $capaWeek=0;
      for ($i=0;$i<7;$i++) {
        if (isOpenDay($weekDay,$this->idCalendarDefinition)) {
          if ($this->isResourceTeam) {
            $capaWeek+=$capacityRate;
          } else {
            $capaWeek+=$this->getSurbookingCapacity($weekDay);
          }
        }
        $weekDay=addDaysToDate($weekDay,1);
      }
      return $capaWeek;
    }
to
public function getWeekCapacity($week, $capacityRate=1) {
      $weekDay=date('Y-m-d',firstDayofWeek(substr($week,-2),substr($week,0,4)));
      $capaWeek=0;
      for ($i=0;$i<7;$i++) {
        if (isOpenDay($weekDay,$this->idCalendarDefinition)) {
          //if ($this->isResourceTeam) {
          //  $capaWeek+=$capacityRate;
          //} else {
          $capaWeek+=$this->getSurbookingCapacity($weekDay);
          //}
        }
        $weekDay=addDaysToDate($weekDay,1);
      }
      return $capaWeek;
    }

Fix will be included in next patch (possibly 8.2.3)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
16 Oct 2019 14:51 #9 by pipobru
Perfect it work fine !
A big big thanks !

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.