Quintiq file version 2.0
#parent: #root
Method EditPeriodTaskInCampaign (
  PeriodTaskInCampaign selection,
  internal[GUIComponent] parent
) id:Method_DialogEditPeriodTaskInCampaign_EditPeriodTaskInCampaign
{
  #keys: '[110880.4.1275590378]'
  Body:
  [*
    // Edit PeriodTaskInCampaignType
    
    data := shadow( selection );
    Dialog.Data( data );
    
    result := Dialog.DoModal( parent );
    if( result > 0 )
    {
      selection.Update( data.Quantity(), true, true );
    }
  *]
}
