Quintiq file version 2.0
|
#parent: #root
|
Method SynchronizePeriodTasks
|
{
|
Description: 'To synchronize the period tasks'
|
TextBody:
|
[*
|
// desmondt Jan-23-2015 (modified)
|
this.CalculateForSynchronization();
|
|
if( this.GetIsEnabled()
|
and not this.IsParentOperation() )
|
{
|
traverse( this, PeriodTaskOperation, ptr )
|
{
|
DependentDemandInputGroup::Synchronize( ptr );
|
|
// Remove period tasks that does not have complete dd or ns
|
if( not PeriodTaskOperation::GetIsValidPeriodTask( this, ptr.UnitPeriod().Period_MP() ) )
|
{
|
ptr.Delete();
|
}
|
}
|
}
|
else
|
{
|
this.PeriodTaskOperation( relflush );
|
}
|
*]
|
}
|