Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method EnableDisableComponents () id:Method_FormProductPlanning_EnableDisableComponents 
 | 
{ 
 | 
  #keys: '[112884.1.975336620]' 
 | 
  Body: 
 | 
  [* 
 | 
    // When upstream filter is activated from context menu, enable checkbox 
 | 
     
 | 
    if( not MenuFilterByUpstreamProducts.Checked() ) 
 | 
    { 
 | 
      DataHolderUpstreamPISPs.Data().Flush(); 
 | 
    } 
 | 
     
 | 
    if( not MenuFilterByDownstreamProducts.Checked() ) 
 | 
    { 
 | 
      DataHolderDownstreamPISPs.Data().Flush(); 
 | 
    } 
 | 
  *] 
 | 
} 
 |