Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method InitializeData () id:Method_FormOptimizerSettings_InitializeData 
 | 
{ 
 | 
  #keys: '[144528.1.1838605152]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Initialize data for display 
 | 
     
 | 
    // Indicate default UoM for min sales demand qty 
 | 
    uom := MacroPlan.DefaultUnitOfMeasure().Name(); 
 | 
    // Remove & from trasnlation as thin client using for shortcut key (which web doesn't need) 
 | 
    minDemandQtyLabel := ApplicationMacroPlanner.RemoveCharactersFromTranslation( Translations::MP_Designer_DialogEditGlobalParameter_SetLabelMinimumSalesDemandQuantityThreshold( uom ) ); 
 | 
    EditFieldMinSalesDemandQtyThreshold.Label( minDemandQtyLabel ); 
 | 
     
 | 
    // Get all strategies 
 | 
    strategyNames := selectvalues( ScenarioManager.GetStrategies(), Elements, s, true, s.Name() ); 
 | 
    strategyNamesStr := strategyNames.Concatenate( ';' ); // Combine to a string delimit by semicolon 
 | 
    DropDownStringListDefaulSmartPlanStrategy.Strings( strategyNamesStr ); 
 | 
  *] 
 | 
} 
 |