Quintiq file version 2.0
#parent: pHeader/bDownload_141
Response OnClick () id:Response_pHeader1_799_bDownload_OnClick_870
{
  #keys: '[413988.0.1652609610]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      binaryValue := NewOfflinePlanCell::Download( MacroPlan, dhSelectedDetailNewOfflinePlanRow.Data() );
      
      Application.Download( "Output plan.xlsx", binaryValue.AsBinaryData() );
    *]
    GroupServerCalls: false
  }
}
