Quintiq file version 2.0
#parent: PanelHeader/ButtonHeader
Response OnClick () id:Response_PanelHeader_ButtonHeader_OnClick
{
  #keys: '[415136.0.1033690473]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      //
      binaryValue := ChangeLossSettingExcel::ExportTemplate( MacroPlan, true );
      
      Application.Download( ChangeLossSettingExcel::GetDefalutName(), binaryValue.AsBinaryData() );
    *]
    GroupServerCalls: false
  }
}
