Hi ,
I have a question about importing assignements :
When assignments are imported with a real work filled,the real work of the related activity is not updated, is that normal ? In my opignon , once the assignment is imported with real work , the real work of the actifity must be also recalculated and updated
Thanks.
When assignments are imported with a real work filled,the real work of the related activity is not updated, is that normal ?
Yes, it is normal.
The real work is calculated from work in db, so each time you add assignment, without work item, real work is automatically updated to zero.
In my opignon , once the assignment is imported with real work , the real work of the actifity must be also recalculated and updated
Same thing as real work for activity is sum of real work for all assignments on the activity.
When assignments are imported with a real work filled,the real work of the related activity is not updated, is that normal ?
Yes, it is normal.
The real work is calculated from work in db, so each time you add assignment, without work item, real work is automatically updated to zero.
In my opignon , once the assignment is imported with real work , the real work of the actifity must be also recalculated and updated
Same thing as real work for activity is sum of real work for all assignments on the activity.
So , you confirm if assignments are imported with a real work value ,the real work of the related activity will be also updated ?
So , you confirm if assignments are imported with a real work value ,the real work of the related activity will be also updated ?
No, because real work of assignment will previously be set to zero, as there is no real work input (object work) on this assignement in the db.
may be I did not understand well your explanation "as there is no real work input (object work) on this assignement in the db" , but looking at the assignment table I found that there's indeed a real work field in DB ( see the screen attached)?
could you explain me more?
Thanks a lot for your support and help
Yes, there is realWork in assignement, but it is always automatically updated as sum of work for each work.
It could be interpreted as :
assignment.realWork=select sum(work) from work where work.idAssignment=assignment.id
(it is not done this way but result is equivalent)
After test , I confirm.
Thanks.
