Quintiq file version 2.0
|
#parent: pExport/bExport_368
|
Response OnClick () id:Response_pRibbonUp_88_bExport_OnClick_832
|
{
|
#keys: '[414996.1.213621017]'
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_WebButton_OnClick'
|
QuillAction
|
{
|
Body:
|
[*
|
rows := selectset( dhScheduleSummaryTable.Data(),LocalRow,row,exists( dhFinelEntitys.Data(),Elements,entity,entity.DisplayName() = row.Name() ));
|
columns := selectset( dhScheduleSummaryTable.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
|
}
|
}
|