Quintiq file version 2.0
#parent: #root
Method SetLotSizeLabel (
  Real lotsize
) id:Method_DialogCreateEditOperation_SetLotSizeLabel
{
  #keys: '[137862.1.211149909]'
  Body:
  [*
    // Show lot size info
    showLotSizeInfo := lotsize > 0;
    LabelLotSizeHorizonInfo.Visible( showLotSizeInfo );
    
    if( showLotSizeInfo )
    {
      lotSizeInfo := Translations::MP_LotSize_Info_LotSizeHorizon( MacroPlan );
      LabelLotSizeHorizonInfo.Text( lotSizeInfo );
    
      //tooltips  
      tooltip := Translations::MP_Designer_LotSizeHorizonActive_Tooltip()
                 +"<BR>"
                 +Translations::MP_Designer_OptimizerStrategySetting_CanBeChanged_Tooltip()
      LabelLotSizeHorizonInfo.Tooltip( tooltip );
    }
  *]
}
