Quintiq file version 2.0
#parent: GanttChartUnitCalendar
Response OnClick (
  Unit row
) id:Response_GanttChartUnitCalendar_MenuNewCampaign_OnClick
{
  #keys: '[112884.1.974879995]'
  Body:
  [*
    // Creates new Campaign_MP
    
    dlg := construct( DialogCreateEditCampaign_MP );
    dlg.NewCampaign( this, null( CampaignType_MP ), row );
  *]
  CanBindMultiple: false
  DefinitionID => /GanttChartUnitCalendar/Responsedef_GanttChartUnitCalendar_Menu_OnClick
  Initiator: 'MenuNewCampaign'
  Precondition:
  [*
    return row.CanCreateCampaign( feedback, null( CampaignType_MP ) )
  *]
}
