Quintiq file version 2.0
#parent: #root
Method InitializeDialog () id:Method_DialogCreateEditCampaignType_InitializeDialog
{
  #keys: '[146302.1.801622507]'
  Body:
  [*
    //By checking duration it will default to quantity if nothing is found
    RadioButtonGroupQuantityDuration.BoundValue( CampaignType_MP::GetInputType( Dialog.Data().DefaultMinQuantity(), 
                                                                                  Dialog.Data().HasInputMaxQuantity(), 
                                                                                  Dialog.Data().DefaultMinDuration(), 
                                                                                  Dialog.Data().HasInputMaxDuration() ) );
    this.UpdateCheckboxState();
  *]
}
