陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
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 );
    }
  *]
}