hongjli
2023-09-19 690f3bc25ec004fcf9ada3f0cfbbacb88853b281
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
Quintiq file version 2.0
#parent: #root
StaticMethod SynchronizationAllMappingBrokerAndAPI (
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    globalOTDTable.Global_MappingUnitOfMeasure_MP( relflush );
    globalOTDTable.Global_MappingSalesSegment_MP( relflush );
    globalOTDTable.Global_MappingStockingPoint_MP( relflush );
    globalOTDTable.Global_MappingCurrency_MP( relflush );
    globalOTDTable.Global_MappingCurrencyRate_MP( relflush );
    globalOTDTable.Global_MappingProduct_MP( relflush );
    globalOTDTable.Global_MappingConversionFactor( relflush );
    globalOTDTable.Global_MappingOperation( relflush );
    globalOTDTable.Global_MappingOperationBOM( relflush );
    globalOTDTable.Global_MappingLane( relflush );
    globalOTDTable.Global_MappingLaneLeg( relflush );
    globalOTDTable.Global_MappingProductInLane( relflush );
    globalOTDTable.Global_MappingActualProductInStockingPointInPeriod( relflush );
    globalOTDTable.Global_MappingInventorySupply( relflush );
    globalOTDTable.Global_MappingStockingPointCost( relflush );
    globalOTDTable.Global_MappingOperationCost( relflush );
    globalOTDTable.Global_MappingForecast( relflush );
    globalOTDTable.Global_MappingCustomOrder( relflush );
    
    //globalOTDTable.GlobalOTDTable_UnitOfMeasure_MP().AsyncExecute();
    //globalOTDTable.GlobalOTDTable_SalesSegment_MP().AsyncExecute();
    //Global_MappingStockingPoint_MP::CreateByAPI( globalOTDTable );后面补
    //Global_MappingCurrency_MP::CreateByAPI( globalOTDTable );后面补
    //Global_MappingCurrencyRate_MP::CreateByAPI( globalOTDTable );后面补
    //globalOTDTable.GlobalOTDTable_Product_MP().AsyncExecute();
    globalOTDTable.GlobalOTDTable_ConversionFactor().AsyncExecute();
    globalOTDTable.GlobalOTDTable_Operation().AsyncExecute();
    globalOTDTable.GlobalOTDTable_OperationBOM().AsyncExecute();
    //Global_MappingLane::CreateByAPI( globalOTDTable );
    //Global_MappingLaneLeg::CreateByAPI( globalOTDTable );
    globalOTDTable.GlobalOTDTable_ProductInLane().AsyncExecute();
    globalOTDTable.GlobalOTDTable_AIPISPIP().AsyncExecute();
    globalOTDTable.GlobalOTDTable_InventorySupply().AsyncExecute();
    globalOTDTable.GlobalOTDTable_StockingPointCost().AsyncExecute();
    globalOTDTable.GlobalOTDTable_OperationCost().AsyncExecute();
    globalOTDTable.GlobalOTDTable_Forecast().AsyncExecute();
    //globalOTDTable.GlobalOTDTable_CustomOrder().AsyncExecute();
  *]
}