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.

Erroneous Offset in...
 
Notifications
Clear all

Erroneous Offset in Work Reports

5 Posts
3 Users
0 Reactions
2,847 Views
(@nea)
Posts: 1
New Member
Topic starter
 
[#2645]

Hello babynus,
I detected an error in the work reports, all but Overview of Work per Activity. The error belongs to one task in one week, where 9.5 hours too much are indicated, see screenshots. This value is added, independent of the specified work in that week.
I do not know where to correct this offset in hours, please help.

Kind regards


 
Posted : 13 Oct 2015 13H50
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Please check work table.
Check that in this table, wekk number really fits day of work.


 
Posted : 15 Oct 2015 21H06
(@staiger)
Posts: 3
Active Member
 

I just had a look into the database.
The entry into the work table seems to be correct:

+------+------------+-----------+----------+-------+--------------+---------+------------+----------+--------+--------+------+-----------+--------+--------+---------------+
| id   | idResource | idProject | refType  | refId | idAssignment | work    | workDate   | day      | week   | month  | year | dailyCost | cost   | idBill | idWorkElement |
+------+------------+-----------+----------+-------+--------------+---------+------------+----------+--------+--------+------+-----------+--------+--------+---------------+
| 6332 |         30 |        35 | Activity |  2030 |         1747 | 1.18750 | 2015-07-31 | 20150731 | 201531 | 201507 | 2015 |    680.00 | 807.50 |   NULL |          NULL |
+------+------------+-----------+----------+-------+--------------+---------+------------+----------+--------+--------+------+-----------+--------+--------+---------------+

But the assignment for this entry does not exist any more.
It seems that work allocated to deleted assignments can exist in the database and is displayed in the reports but not in the real work allocation page.
The assignment was broken after a server shutdown during a commit by a user.
After that the assignment could be deleted while work was still associated with this assignment.
No manual database manipulation has been made.


 
Posted : 19 Oct 2015 13H31
(@staiger)
Posts: 3
Active Member
 

Is it safe for us to delete the line from the work table without any side-effects?
Is there a kind of integrity check tool for the database?


 
Posted : 19 Oct 2015 13H34
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Is it safe for us to delete the line from the work table without any side-effects?

Yes.
Then you should make some change on Activity #2030 to be sure that all consolidated data is correctly updated.

Is there a kind of integrity check tool for the database?

No


 
Posted : 19 Oct 2015 13H40
Share:

Scroll to Top