Closed pijoter closed 13 years ago
I can't see anything wrong here. 'length' will not guarantee you any resource assignments. If the resource is not available, you won't get any bookings. You've defined t1 to start at 2011-03-15-09:00 and to last 1d (8h). So it ends before p1 begins to work that day (18:00).
but task t11 length 1d - so resource p1 must be available between 2011-03-15-09:00 + 1 working day (working day for p1 is mon-fri 18-22); there is no ther tasks for p1 resource!
Simply put - i don't understat how booking works for shifts. Documentation says:
"This is an additional working time restriction on top of the working hours of the allocated resources. It does not replace the resource working hour restrictions".
When default workingours are "mon-fri 9:00-12:00 13:00-18:00" and shift workinghours "mon-fri 18:00-22:00" then what are effective workinghours for resource?
The same apply to shifts (task):
"For a resource to be assigned to a time slot, both the respective task shift as well as the resource working hours must declare the time slot as duty slot"
This mean that when resource share default workinghours then there are little chance to assign shift to the task because workinghours are so different? Maybe if here is no explicit global workinghours then resources hould use shift workinghours instead?
A length of 1d is 8h, not 24h. That would be a duration of 1d. The 8h are counted from the 9:00 start time. 9 + 8 = 17. So the period is over before your shift even starts.
length is measured in "default" workinghours (8h daily) or in workinghours of the resource (in this case - shift "home", 1 workingday = 4h from 18:00 to 22:00)? Then resource p1 could be bound to task t11 from 18:00 to 22:00.
In other words: when i say "hey, p1 - now is 9:00 am and you have 1 working day to complete this task" then this task must be completed till 22:00. When i say that on 19:00 then task must be completed till 19:00 next working day. Or I miss something?
The resource working hours do not affect the resulting duration, only the global working hours do. I've clarified this in the manual. The original documentation for 'length' was not clear on this. Thanks for bringing this up!
shifts (task) does not work at all; when combined with length attribute then no errors are shown but reports ignore different shifts (and use defaults). When combined with effort attribute then tj3 raise error:
Anyway - tasks with "length" not always are bout to resources despite that they are available.
complete example