Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method GetTargetUnderDefined ( 
 | 
  const LibOpt_Scope scope, 
 | 
  const RunContextForCapacityPlanning runcontext 
 | 
) const as Boolean 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    getadditional := runcontext.IsMetaIteration();  
 | 
    value := this.GetHasTargetInventory() 
 | 
             and ( not getadditional or 
 | 
                  ( getadditional and this.GetHasTargetInDays() ) or 
 | 
                  ( getadditional and scope.Contains( this.PISPIPInOptimizerRun() ) ) ) 
 | 
    return value; 
 | 
  *] 
 | 
  InterfaceProperties { Accessibility: 'Module' } 
 | 
} 
 |