Quintiq file version 2.0
#parent: #root
Method SetDefaultUoM () id:Method_DialogCreateEditCampaign_MP_SetDefaultUoM
{
  #keys: '[150660.1.1040749468]'
  Body:
  [*
    // Set uom into label text
    unit := guard( SelectionCampaignType.Data().Unit(), Dialog.Data().Unit() )
    LabelMinQuantity.Text( Translations::MP_CampaignType_TransitionType_Minimum( unit ) );
    LabelMaxQuantity.Text( Translations::MP_CampaignType_TransitionType_Maximum( unit ) );
  *]
}
