Quintiq file version 2.0 
 | 
#parent: PanelRibbon322_88/bExport 
 | 
Response OnClick () id:Response_PanelRibbon322_88_bExport_OnClick 
 | 
{ 
 | 
  #keys: '[412672.1.99120483]' 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_WebButton_OnClick' 
 | 
  QuillAction 
 | 
  { 
 | 
    Body: 
 | 
    [* 
 | 
      rows := selectset( dhComparisonData854.Data(),LocalRow,row,exists( dhFinelEntity.Data(),Elements,entity,entity.DisplayName() = row.Name() )); 
 | 
      columns := selectset( dhComparisonData854.Data(),LocalColumn,column,dhStartDate.Data() <= column.Date() and dhEndDate.Data() > column.Date() ); 
 | 
      attrbutes := construct( Strings ); 
 | 
      if( cbShiftPlan.Checked() ){ 
 | 
        attrbutes.Add( "ShiftPattern" );  
 | 
      } 
 | 
      if( cbWorkday.Checked() ){ 
 | 
        attrbutes.Add( "WorkingDay" );  
 | 
      } 
 | 
      if( cbCapacity.Checked() ){ 
 | 
        attrbutes.Add( "Capacity" );  
 | 
      } 
 | 
      if( cbOutput.Checked() ){ 
 | 
        attrbutes.Add( "Output" );  
 | 
      }  
 | 
      LocalCell_ScheduleSummary::AsyncExport( RecycleBin,rows,columns ,attrbutes ); 
 | 
      //Application.Download( "产出导入模板.xlsx",data.AsBinaryData() ); 
 | 
    *] 
 | 
    GroupServerCalls: false 
 | 
  } 
 | 
} 
 |