T
Tom.K
I have a sql script that extracts the time someone has
entered on their web access time sheet. It pulls the time
from table MSP_WEB_WORK and then pulls a bunch of other
custom info to go along with it.
I am having trouble with the way project stores
consecutive entries with equal time for the same task.
For Example If you enter 8 hrs a day to the same task for
3 days in a row it will store that as one record with
different values for wwork_start and wwork_finish. This
is fine because I can use the difference in these fields
to create a record for each day in the range.
However, I am having trouble with date fields overlapping
for the same task. (see below)
The following 3 entries are from the table MSP_WEB_WORK.
It is actual time(WWORK_TYPE = 1) all for the same
Assignment.
WWORK_START WWORK_FINISH WWORK_VALUE
10/12/03 12:00 AM 10/15/03 12:00 AM 0
10/14/03 12:00 AM 10/21/03 12:00 AM 480000
10/16/03 12:00 AM 10/18/03 12:00 AM 480000
According to this the 16, 17, and 18 have 8 hours twice.
That would total 16 hours for each of these days. However,
the users timesheet only shows 8 hours.
Also, their timesheet shows 0 hours on the 12th and 13th
but not on the 14th and 15th
How does MSP break out these records to show what belongs
on a users timesheet?
entered on their web access time sheet. It pulls the time
from table MSP_WEB_WORK and then pulls a bunch of other
custom info to go along with it.
I am having trouble with the way project stores
consecutive entries with equal time for the same task.
For Example If you enter 8 hrs a day to the same task for
3 days in a row it will store that as one record with
different values for wwork_start and wwork_finish. This
is fine because I can use the difference in these fields
to create a record for each day in the range.
However, I am having trouble with date fields overlapping
for the same task. (see below)
The following 3 entries are from the table MSP_WEB_WORK.
It is actual time(WWORK_TYPE = 1) all for the same
Assignment.
WWORK_START WWORK_FINISH WWORK_VALUE
10/12/03 12:00 AM 10/15/03 12:00 AM 0
10/14/03 12:00 AM 10/21/03 12:00 AM 480000
10/16/03 12:00 AM 10/18/03 12:00 AM 480000
According to this the 16, 17, and 18 have 8 hours twice.
That would total 16 hours for each of these days. However,
the users timesheet only shows 8 hours.
Also, their timesheet shows 0 hours on the 12th and 13th
but not on the 14th and 15th
How does MSP break out these records to show what belongs
on a users timesheet?