Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Precise ca...
 
Notifications
Clear all

[SOLVED] Precise calcul of projets

16 Posts
2 Users
0 Reactions
7,982 Views
(@sogeti)
Posts: 135
Active Member
Topic starter
 
[#5576]

Hello,

Can we calculate all assigned projets to a team, for one week, in one time ?


 
Posted : 27 Nov 2018 16H35
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Can we calculate all assigned projets to a team,

No, this has no meaning, resources taking part to a project can come from different teams.
Buit you can calculate for the project you select.

for one week

Are you sure about the question ?
Planning for one week has no real meaning...
You must plan all left work, planning for one single week may have unexpected impact on planning for weeks after.

in one time

Yes, you can plan one or several or all projects at once.
For instance project leader can replan all his projects in one click.


 
Posted : 28 Nov 2018 15H51
(@sogeti)
Posts: 135
Active Member
Topic starter
 

Ok,

Yes im sure for the "one week" ;). Sometimes we need to calculate Projets for one week.

In the view "planning", can we calculate projets only for one week ?
When i choose two dates in the view planning, it doens't work. I have all the projets.

Have you planned this change ?
Calculate only projets for one or two weeks ?


 
Posted : 28 Nov 2018 17H10
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Yes im sure for the "one week" ;). Sometimes we need to calculate Projets for one week.

I still don't understand what is means.
Recalculating for a single week will have impact on following weeks that you won't see....

In the view "planning", can we calculate projets only for one week ?

No

When i choose two dates in the view planning, it doens't work. I have all the projets.

These dates only change visibility limit. it's only for display.
And I don't understand relationship with a week and a project.
Limit to a week won't limit to a project...

Have you planned this change ?
Calculate only projets for one or two weeks ?

Absolutely not.


 
Posted : 29 Nov 2018 0H41
(@sogeti)
Posts: 135
Active Member
Topic starter
 

We use the pool, and on Friday, we change in the assignment field the pool by a human resource contained in the pool. So the calculate of the project will not impact the future. This Because we need for the next week (in the report view) a visibility on what human resources have to do, and over the following weeks, the pool charge.
And do to this, we need to change the assignment fiel, and calculate projet one by one. Its a lot of work.
But ok, its not possible to choose only projets on one week precisely

Translation in french :
On utilise le pool, et le vendredi, on change dans le champ assignation le pool par une ressource humaine contenue dans le pool. Donc le calcule du projet n'impactera pas le futur. Car il nous faut sur la semaine suivante (dans la vue rapport) une visibilité sur ce que les ressources humaines ont a faire, et sur les semaines suivantes, ce que le pool a comme charge.

"And I don't understand relationship with a week and a project."
Because we have a lof of projet realiz on one day, or 3 days max


 
Posted : 29 Nov 2018 16H52
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

So the calculate of the project will not impact the future

Yes it may !!!
Planning with a pool will insure one of the resources of the pool is available to work on the activity, but it may be not the one you selected as "human" resource.
So new planning may be different, and it's not sure that, even if pool could do the work on the activity the next week, the selected real resource will do so.

But no matter, replaning for next week "and following weeks" sould also be good. No ?


 
Posted : 29 Nov 2018 21H08
(@sogeti)
Posts: 135
Active Member
Topic starter
 

"Planning with a pool will insure one of the resources of the pool is available to work on the activity, but it may be not the one you selected as "human" resource.
So new planning may be different, and it's not sure that, even if pool could do the work on the activity the next week, the selected real resource will do so."

No problem to change the assignment fiel, because this change is done by a team coordinator, and he knows who can work or not on activities.

"But no matter, replaning for next week "and following weeks" sould also be good. No ?"

We have to wait 10-20seconds to calculate one projet. So its because we would select only projets for the next week... If we calculated all the projets for next and following weeks, we will have to wait 5 hours, and its not possible.

Mmh, so we dont have any solutions ^^


 
Posted : 03 Dec 2018 15H14
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

We have to wait 10-20seconds to calculate one projet.

So either your projects are very big (undreds or thouthands of activities each) or your server is very slow...

we will have to wait 5 hours, and its not possible.

I understand this 😉

Mmh, so we dont have any solutions ^^

You may :
- monitor your server and try and have it run a bit faster
- use automatic planning calculation that will run in background (differential will plan only projects "that have changed")


 
Posted : 03 Dec 2018 16H05
(@sogeti)
Posts: 135
Active Member
Topic starter
 

"So either your projects are very big (undreds or thouthands of activities each) or your server is very slow..."

We dont have any server problems, CPU, RAM etc OK. Slow DB peraps... Its because we would like "purge" DB.

"You may :
- monitor your server and try and have it run a bit faster
- use automatic planning calculation that will run in background (differential will plan only projects "that have changed") "

You are talking about this button ?

If not, there is an other button of automatic planning calculation that will runned in background ?


 
Posted : 03 Dec 2018 17H09
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Automatic planning is defined in Global Parameters > Automation


 
Posted : 03 Dec 2018 21H12
(@sogeti)
Posts: 135
Active Member
Topic starter
 

Oh ! thats a good new :woohoo: !!!

I will try this.

Thank


 
Posted : 04 Dec 2018 13H50
(@sogeti)
Posts: 135
Active Member
Topic starter
 

Hello,

I configured the automatic calcul, in Global Parameters > Automation.

Then i created a "fictive" activity with charge...

But nothing appened, the automatic calcul doens't work, its normal ?

i have made a mistake somewhere ?


 
Posted : 07 Dec 2018 20H04
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

You defined a calculation only once a day at 0:10.
Also check that CRON is running (on admin page)


 
Posted : 11 Dec 2018 11H12
(@sogeti)
Posts: 135
Active Member
Topic starter
 

Oh, you have right....

i have seen cron was launch... But after 10 minutes, anormally stopped...

Please find below the log :
2018-12-11 10:10:07.782 ===== TRACE ===== Calcul automatique du planning : calcul différentiel - Projets : 2483,2588,3858,1814,2497,353,2553,3859,2569,78,2706,81,2940,2716,2679,2724,2298,3036,2768,1999,2546,2585,2293,3058,3719,3179,2626,3084,3423,3739,2589,2682,10,2436,2792,2952,2482,2437,1868,3436,2971,1094,1229,2812,3072,3459,2130,2821,1545,83,3767,2340,2715,2212,2309,2582,3354,2727,1704,1870,2813,2818,2215,2200,2484,622,1173,1871,3514,2338,3479,3652,1905,3773,3666,2852,2788,1309,1392,3771,86,3784,2978,1872,3785,2752,2790,3442,2980,3786,3509,2856,2760,1880,3787,1954,2290,2750,3275,1089,2413,3766,3774,2591,2629,2960,3778,3788,2890,2281,2902,3045,1693,2762,1208,3583,3789,2501,2987,2117,1158,2504,2928,3780,2514,2113,2192,2981,3169,2565,3616,3840,138,3854,3715,3842,3716,1224,3717,3843,3850,3856,3851,3494,3225,3857,1945,3597,1738,3667,3298,3608,52,528,2263,2143,3078,3294,3295,3684,1161,1372,3224,3609,3676,3190,1874,2795,1294,3422,3689,3703,3120,1446,3696,3522,3690,3451
2018-12-11 10:12:26.685 ** ERROR ** [V7.1.5] EXCEPTION **
2018-12-11 10:12:26.685
** ERROR ** [V7.1.5] on file '/var/www/html/model/persistence/Sql.php' at line (179)
2018-12-11 10:12:26.686
** ERROR ** [V7.1.5] cause = There is already an active transaction
2018-12-11 10:12:26.686
** ERROR ** [V7.1.5] => #0 /var/www/html/model/persistence/Sql.php (179) -> beginTransaction()
2018-12-11 10:12:26.686
** ERROR ** [V7.1.5] => #1 /var/www/html/model/PlannedWork.php (1174) -> beginTransaction()
2018-12-11 10:12:26.686
** ERROR ** [V7.1.5] => #2 /var/www/html/tool/cronExecutionStandard.php (46) -> plan()
2018-12-11 10:12:26.686
** ERROR ** [V7.1.5] => #4 /var/www/html/model/Cron.php (420) -> call_user_func()
2018-12-11 10:12:26.686
** ERROR ** [V7.1.5] => #5 /var/www/html/tool/cronRun.php (31) -> run()
2018-12-11 10:12:26.687 ===== TRACE ===== Cron error : Une exception est survenue le 2018-12-11 à 10:12:26
2018-12-11 10:12:26.688
** ERROR ***** [V7.1.5] cron abnormally stopped

Do you have an idea to fix it ?


 
Posted : 11 Dec 2018 12H18
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

This issue is fixed on V7.2.4 (Ticket #3601)
You should migrate to V7.2.7


 
Posted : 11 Dec 2018 12H31
(@sogeti)
Posts: 135
Active Member
Topic starter
 

Oh, thanks for your reply.

Migration to 7.2.7 planifed for next week... we will wait 🙂


 
Posted : 11 Dec 2018 13H08
Share:

Scroll to Top