Quintiq file version 2.0
#parent: #root
Method SetFilters () id:Method_FormOptimizerAccountKPIResults_SetFilters
{
  #keys: '[110880.2.1709151648]'
  Body:
  [*
    // Set filters for results
    
    filter := 'true ';
    resultsource := 'dataholderalgorithmrunlevels';
    
    if( CheckBoxFilterByAlgorithmRunLevels.Checked() )
    {
      filter := filter + 'and object.IsInAlgorithmRunLevel(' + resultsource + ') ';
    }
    
    GUIDataSetLevelOptimizerAccountKPIResult.FixedFilter( filter );
  *]
}
