| Quintiq file version 2.0 | 
| #parent: #root | 
| Method ExportKPISettings ( | 
|   Boolean isexportbinary, | 
|   output BinaryValues binaryvalues, | 
|   output Strings brokernames | 
| ) | 
| { | 
|   Description: 'Export KPI settings to excel' | 
|   TextBody: | 
|   [* | 
|     progress( 'Exporting KPI settings', DateTime::ActualTime() ); | 
|      | 
|     if( isexportbinary ) | 
|     { | 
|       binarydata := this.SM_ExportKPISettingsBroker().ExecuteToXLS( true ); | 
|       binaryvalues.Add( binarydata.AsBinaryValue() ); | 
|       brokernames.Add( typeof( SM_ExportKPISettingsBroker ).ShortName() ); | 
|                           | 
|     } | 
|     else | 
|     { | 
|       this.SM_ExportKPISettingsBroker().Execute(); | 
|     } | 
|   *] | 
| } |