Hi BudOlly,
I am not aware of any flag like this. Perhaps there is anyone else?
The only idea I have is to comepare TimeByDay data of Timesheets and
Tasks in the database. Unfortunately imported hours has also to be
submitted, accepted and published to be available for this comparison:
SELECT dbo.MSP_TimesheetActual_OlapView.TimeByDay,
dbo.MSP_TimesheetPeriod_OlapView.PeriodName,
dbo.MSP_TimesheetProject_OlapView.ProjectName,
dbo.MSP_TimesheetTask_OlapView.TaskName,
dbo.MSP_TimesheetResource_OlapView.ResourceName,
ISNULL(dbo.MSP_EpmAssignmentByDay_UserView.AssignmentActualWork, 0) AS
AssignmentActualWork,
ISNULL(dbo.MSP_TimesheetActual_OlapView.ActualWorkBillable, 0) AS
ActualWorkBillable
FROM dbo.MSP_EpmAssignmentByDay_UserView RIGHT OUTER JOIN
dbo.MSP_Timesheet_OlapView INNER JOIN
dbo.MSP_TimesheetLine_OlapView ON
dbo.MSP_Timesheet_OlapView.TimesheetUID =
dbo.MSP_TimesheetLine_OlapView.TimesheetUID INNER JOIN
dbo.MSP_TimesheetPeriod_OlapView ON
dbo.MSP_Timesheet_OlapView.PeriodUID =
dbo.MSP_TimesheetPeriod_OlapView.PeriodUID INNER JOIN
dbo.MSP_TimesheetActual_OlapView ON
dbo.MSP_TimesheetLine_OlapView.TimesheetLineUID =
dbo.MSP_TimesheetActual_OlapView.TimesheetLineUID INNER JOIN
dbo.MSP_TimesheetProject_OlapView ON
dbo.MSP_TimesheetLine_OlapView.ProjectNameUID =
dbo.MSP_TimesheetProject_OlapView.ProjectNameUID INNER JOIN
dbo.MSP_TimesheetTask_OlapView ON
dbo.MSP_TimesheetLine_OlapView.TaskNameUID =
dbo.MSP_TimesheetTask_OlapView.TaskNameUID INNER JOIN
dbo.MSP_TimesheetResource_OlapView ON
dbo.MSP_Timesheet_OlapView.OwnerResourceNameUID =
dbo.MSP_TimesheetResource_OlapView.ResourceNameUID ON
dbo.MSP_EpmAssignmentByDay_UserView.AssignmentUID =
dbo.MSP_TimesheetLine_OlapView.AssignmentUID AND
dbo.MSP_EpmAssignmentByDay_UserView.TimeByDay =
dbo.MSP_TimesheetActual_OlapView.TimeByDay
WHERE (dbo.MSP_TimesheetActual_OlapView.TimeByDay < { fn NOW() }) AND
(ISNULL(dbo.MSP_TimesheetActual_OlapView.ActualWorkBillable, 0) -
ISNULL(dbo.MSP_EpmAssignmentByDay_UserView.AssignmentActualWork, 0) <> 0)
It's just an idea ...
Regards
Barbara
Am 23.02.2010 18:14, schrieb BudOlly: