Quintiq file version 2.0
#parent: #root
Method DownloadExcelFile (
  BinaryValue binaryvalue_i,
  String brokername_i
) id:Method_DialogExportPlannedOrder_DownloadExcelFile
{
  #keys: '[145730.0.1361991145]'
  Body:
  [*
    // Retrieve the export result from server and download Excel on client
    filename := brokername_i + ".xlsx";
    
    Application.Download( filename,  binaryvalue_i.AsBinaryData());
  *]
}
