Quintiq file version 2.0
#parent: #root
Method SetGenerateSafetyStockDisplayButton (
  Boolean isrunning
) id:Method_ApplicationMacroPlanner_SetGenerateSafetyStockDisplayButton
{
  #keys: '[136682.2.242007716]'
  Body:
  [*
    //Set GenerateSafetyStock button image
    if ( isrunning )
    {
      ApplicationMacroPlanner.ButtonGenerateSafetyStock().Image( "MEDIA_PAUSE" );
    }
    else
    {
      ApplicationMacroPlanner.ButtonGenerateSafetyStock().Image( "MEDIA_PLAY" );   
    }
  *]
}
