Quintiq file version 2.0
#parent: #root
Method SetTooltips () id:Method_DialogCreateEditOperation_SetTooltips
{
  #keys: '[142576.0.177103760]'
  Body:
  [*
    data := Dialog.Data();
    qtytoprocess := data.Unit().QuantityToProcess();
    
    LabelCO2Emission.SetProperty( "Tooltip", 
                                  Translations::MP_Operation_CO2Emission_Tooltip( MacroPlan.GlobalParameters_MP().CO2ProcessUoM() ) );
    LabelMinimumQuantity.SetProperty( "Tooltip",
                                      Translations::MP_Designer_DialogCreateEditOperation_MinimumQuantity_Tooltip( qtytoprocess ) );
    LabelMaximumQuantity.SetProperty( "Tooltip",
                                      Translations::MP_Designer_DialogCreateEditOperation_MaximumQuantity_Tooltip( qtytoprocess ) );
    LabelLotSize.SetProperty( "Tooltip", 
                              Translations::MP_Designer_DialogCreateEditOperation_LotSize_Tooltip( qtytoprocess ) );
  *]
}
