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
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method MPSync_ImportEntityCosts ( 
 |    MPSync mpsync, 
 |    Boolean isoverwritemanualconfig 
 |  ) 
 |  { 
 |    Description: 'Import Entity Costs Factor for MPSync' 
 |    TextBody: 
 |    [* 
 |      // Jian Giang Aug-25-2016 (created) 
 |       
 |      unitcosts := selectset( mpsync, IOUnitCost, io, true, io.IsValid() ); 
 |      lanecosts := selectset( mpsync, IOLaneCost, io, true, io.IsValid() ); 
 |      lanelegcosts := selectset( mpsync, IOLaneLegCost, io, true, io.IsValid() ); 
 |      operationcosts := selectset( mpsync, IOOperationCost, io, true, io.IsValid() ); 
 |      spcosts := selectset( mpsync, IOStockingPointCost, io, true, io.IsValid() ); 
 |      productvalueandcosts := selectset( mpsync, IOProductValueAndCost, io, true, io.IsValid() ); 
 |      inventoryvalueandcosts := selectset( mpsync, IOInventoryValueAndCost, io, true, io.IsValid() ); 
 |       
 |      this.MPSyncUnitCost( isoverwritemanualconfig, unitcosts ); 
 |      this.MPSyncLaneCost( isoverwritemanualconfig, lanecosts ); 
 |      this.MPSyncLaneLegCost( isoverwritemanualconfig, lanelegcosts ); 
 |      this.MPSyncOperationCost( isoverwritemanualconfig, operationcosts ); 
 |      this.MPSyncStockingPointCost( isoverwritemanualconfig, spcosts );   
 |      this.MPSyncProductValueAndCosts( isoverwritemanualconfig, productvalueandcosts ); 
 |      this.MPSyncInventoryValueAndCosts( isoverwritemanualconfig, inventoryvalueandcosts ); 
 |    *] 
 |  } 
 |  
  |