Forum

Update real work al...
 
Notifications
Retirer tout

Update real work allocation manually

3 Posts
2 Utilisateurs
0 Reactions
4,923 Vu
jean pierre huart
(@jphuart)
Posts: 35
Trusted Member
Début du sujet
 
[#2452]

I need to make a lot of changes in the real work allocation for a bunch of resources. Doing it in the interface will take a long time.
So I've exported the concerned records from the table 'work' in a spreadsheet to define what has to be modified and I'm planning to prepare some update scripts to inject the changes directly into the table.
Looking at the code I realize that 'assignment' and 'planningelement' will have to be updated accordingly.
I know this is a dangerous operation, and backups will be there to cope with blocking errors, but it is a great opportunity to better understand how it works.

I was just wondering if records in assignment and planningelement are not recalculated each time that a change is done in the real work allocation. If it is the case, instead of preparing complicated updates for these 2 tables, I was wondering to implement changes in table work, then open real work allocation in the interface and update one record per concerned activity. Will this recalculate all fields in the mentioned tables?

Thanks for advices.
Ciao
Jean Pierre


 
Posté : 23/07/2015 6:21 pm
(@babynus)
Posts: 14952
Membre Admin
 

I'm planning to prepare some update scripts to inject the changes directly into the table.

Very bad idea. 👿

Looking at the code I realize that 'assignment' and 'planningelement' will have to be updated accordingly.

At least. :ohmy:

I was just wondering if records in assignment and planningelement are not recalculated each time that a change is done in the real work allocation

Yes 😉

Will this recalculate all fields in the mentioned tables?

It should :dry: , but I'm not so sure it will be enough.


 
Posté : 23/07/2015 6:30 pm
jean pierre huart
(@jphuart)
Posts: 35
Trusted Member
Début du sujet
 

Thanks for these comments, I'll let you know how it goes.


 
Posté : 23/07/2015 6:35 pm
Share:
Retour en haut