Quintiq file version 2.0
#parent: ListCampaign_424
Response OnClick () id:Response_ListCampaign_424_MenuCreate_OnClick
{
  #keys: '[134266.1.2002708785]'
  CanBindMultiple: false
  DefinitionID => /ListCampaign_424/Responsedef_ListCampaign_424_WebMenu_OnClick
  Initiator: 'MenuCreate'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback )
           and Unit::HasUnit( feedback, MacroPlan )
           and Campaign_MP::CanCreate( feedback, ApplicationMacroPlanner.DataHolderUnit().Data() )
  *]
  QuillAction
  {
    Body:
    [*
      // Create a new campaign
      dlg := construct( DialogCreateEditCampaign );
      dlg.New( FormCampaign, null( Unit ), DataHolderCampaignType.Data() );
    *]
    GroupServerCalls: false
  }
}
