Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method SetIOObjectSourceAndPath ( 
 | 
  String source, 
 | 
  Boolean isexcel, 
 | 
  String excelpath 
 | 
) 
 | 
{ 
 | 
  Description: 'Set the source and/or excel path of the imported objects' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Set the source and/or excel path of the imported objects 
 | 
    // ObjectGroup Actuals 
 | 
    if( this.Name() = MPSyncUtility::ID_ObjectGroup_Actuals() ) 
 | 
    { 
 | 
      this.SetActualsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Campaigns 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Campaigns() ) 
 | 
    { 
 | 
      this.SetCampaignsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Capacities 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Capacities() ) 
 | 
    { 
 | 
      this.SetCapacitiesSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup EntitiesCosts 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Costs() ) 
 | 
    { 
 | 
      this.SetCostsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Entities 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Entities() ) 
 | 
    { 
 | 
      this.SetEntitiesSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Feedback 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Feedback() ) 
 | 
    { 
 | 
      this.SetFeedbackSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup GlobalParameters 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_GlobalParameters() ) 
 | 
    { 
 | 
      this.SetGlobalParametersSourceAndPath( source, isexcel, excelpath );   
 | 
    } 
 | 
    // ObjectGroup InventorySpecifications 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_InventorySpecifications() ) 
 | 
    { 
 | 
      this.SetInventorySpecificationsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup InventorySupplies 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_InventorySupplies() ) 
 | 
    { 
 | 
      this.SetInventorySuppliesSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Lanes 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Lanes() ) 
 | 
    { 
 | 
      this.SetLanesSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup OptimizerPuzzles 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_OptimizerPuzzle() ) 
 | 
    { 
 | 
      this.SetOptimizerPuzzlesSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Periods 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Periods() ) 
 | 
    { 
 | 
      this.SetPeriodsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Products 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Products() ) 
 | 
    { 
 | 
      this.SetProductsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Recipes 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Recipes() ) 
 | 
    { 
 | 
      this.SetRecipesSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Routings 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Routings() ) 
 | 
    { 
 | 
      this.SetRoutingsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup Forecasts 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Forecast() ) 
 | 
    { 
 | 
      this.SetSalesForecastsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup ServiceLevels 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_ServiceLevels() ) 
 | 
    { 
 | 
      this.SetServiceLevelsSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup SupplyChainParameters 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_SupplyChainParameters() ) 
 | 
    { 
 | 
      this.SetSupplyChainParametersSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
    // ObjectGroup SupplySpecifications 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_SupplySpecifications() ) 
 | 
    { 
 | 
      this.SetSupplySpecificaitonsSourceAndPath( source, isexcel, excelpath ); 
 | 
    }// ObjectGroup CustomerOrder 
 | 
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_CustomerOrder() ) 
 | 
    { 
 | 
      this.SetCustomerOrderSourceAndPath( source, isexcel, excelpath ); 
 | 
    } 
 | 
  *] 
 | 
} 
 |