Quintiq file version 2.0
#parent: PanelExport/bRefresh_427
Response OnClick () id:Response_pHeader_bRefresh_OnClick_57
{
  #keys: '[415136.0.1153802324]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      DLEngineLogisticsCostReport::InitializeNew( MacroPlan );
      
      if( not isnull( MacroPlan.DLEngineLogisticsCostExcel() ) ){
        DLEngineLogisticsCostReport::Import( MacroPlan, RecycleBin, MacroPlan.DLEngineLogisticsCostExcel().FileBinaryValue() );
      }else{
        DLEngineLogisticsCostReport::InitiateSearch( MacroPlan );
      }
      table := selectobject( MacroPlan, DLEngineLogisticsCostReport, table, table.IsShow() );
      
      DataHolderTable.Data( table );
      
      //dhSearch.Data( MacroPlan.DLEngineLogisticsCostSearch() );
    *]
    GroupServerCalls: false
  }
}
