| Quintiq file version 2.0 | 
| #parent: PanelExport_670/bRefresh | 
| Response OnClick () id:Response_PanelExport_bRefresh_OnClick | 
| { | 
|   #keys: '[415136.0.1153802553]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebButton_OnClick' | 
|   Precondition: | 
|   [* | 
|     return not isnull( MacroPlan ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       CCEngineLogisticsCostReport::Initialize( MacroPlan ); | 
|        | 
|       if( not isnull( MacroPlan.CCEngineLogisticsCostExcel() ) ){ | 
|         CCEngineLogisticsCostReport::Import( MacroPlan, RecycleBin, MacroPlan.CCEngineLogisticsCostExcel().FileBinaryValue() ); | 
|       }else{ | 
|         CCEngineLogisticsCostReport::InitiateSearch( MacroPlan ); | 
|       } | 
|        | 
|       table := selectobject( MacroPlan, CCEngineLogisticsCostReport, table, table.IsShow() ); | 
|        | 
|       DataHolderTable.Data( table ); | 
|        | 
|       //dhSearch.Data( table.MacroPlan().CCEngineLogisticsCostSearch() ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |