Quintiq file version 2.0 #parent: PanelExport/ButtonExport Response OnClick () id:Response_PanelExport_ButtonExport_OnClick { #keys: '[415136.0.992750420]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' Precondition: [* return not isnull( MacroPlan ); *] QuillAction { Body: [* binaryValue := DLEngineLogisticsCostReport::Download( MacroPlan ); Application.Download( DLEngineLogisticsCostReport::GetDefaultName() + '.xlsx', binaryValue.AsBinaryData() ); *] GroupServerCalls: false } }