Ensuring the start is after the consolidated assignments
FEA: ItEr62OTS04PlanificacionHaciaAtras
This commit is contained in:
parent
3c9f569099
commit
db60766295
1 changed files with 3 additions and 1 deletions
|
|
@ -611,7 +611,9 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
|
|||
|
||||
private void allocate(IntraDayDate startInclusive,
|
||||
IntraDayDate endExclusive, EffortDuration durationToAssign) {
|
||||
List<T> assignmentsCreated = createAssignments(startInclusive,
|
||||
IntraDayDate afterConsolidated = getStartAfterConsolidated();
|
||||
List<T> assignmentsCreated = createAssignments(
|
||||
IntraDayDate.max(afterConsolidated, startInclusive),
|
||||
endExclusive, durationToAssign);
|
||||
resetAssignmentsTo(assignmentsCreated, startInclusive, endExclusive);
|
||||
updateResourcesPerDay();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue