From 618b16e7933c49d977a4df19f756250b80d43c0d Mon Sep 17 00:00:00 2001
From: yanyuan <yuan.yan@capgemini.com>
Date: 星期二, 31 十月 2023 18:09:58 +0800
Subject: [PATCH] Fix some bug

---
 _Main/BL/Type_GlobalDTOTable/Method_SynchronizeDataToMacroPlan#127.qbl |  146 ++++++++++++++++++++++++------------------------
 1 files changed, 74 insertions(+), 72 deletions(-)

diff --git "a/_Main/BL/Type_GlobalDTOTable/Method_SynchronizeDataToMacroPlan\043127.qbl" "b/_Main/BL/Type_GlobalDTOTable/Method_SynchronizeDataToMacroPlan\043127.qbl"
index 66ff081..007623c 100644
--- "a/_Main/BL/Type_GlobalDTOTable/Method_SynchronizeDataToMacroPlan\043127.qbl"
+++ "b/_Main/BL/Type_GlobalDTOTable/Method_SynchronizeDataToMacroPlan\043127.qbl"
@@ -48,77 +48,79 @@
       }
     
     macroPlan.InitialUnitAndStockingPoint();
-    
-    if ( isUnitOfMeasure_MP ) {
-      Global_MappingUnitOfMeasure_MP::SynchronizeMacroPlanData( this, macroPlan );
-    }
-    
-    if ( isCustomOrder ) {
-      Global_MappingCustomOrder::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isForeacst ) {
-      Global_MappingForecast::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist );
-    }
-    
-    if ( isSalesSegment_MP ) {
-      Global_MappingSalesSegment_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes );
-    }
-    
-    if ( isProduct_MP ) {
-      Global_MappingProduct_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, macroPlan.IsKeyProduct() );
-    }
-    
-    if ( isConversionFactor ) {
-      Global_MappingConversionFactor::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isOperation ) {
-      Global_MappingOperation::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist );
-    }
-    
-    if ( isOperationBOM ) {
-      Global_MappingOperationBOM::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist, macroPlan.IsKeyProduct(), macroPlan.CreatePurchaseSupplyMaterial() );
-    }
-    
-    if ( isProductInLane ) {
-      Global_MappingProductInLane::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isAIPISPIP ) {
-      Global_MappingActualProductInStockingPointInPeriod::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist, macroPlan.IsKeyProduct() );
-    }
-    
-    if ( isInventorySupply ) {
-      Global_MappingInventorySupply::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist, macroPlan.IsKeyProduct() );
-    }
-    
-    if ( isStockingPointCost ) {
-      Global_MappingStockingPointCost::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isOperationCost ) {
-      Global_MappingOperationCost::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist );
-    }
-    
-    if ( isStockingPoint_MP ) {
-      Global_MappingStockingPoint_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isCurrency_MP ) {
-      Global_MappingCurrency_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isCurrencyRate_MP ) {
-      Global_MappingCurrencyRate_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isLane ) {
-      Global_MappingLane::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
-    
-    if ( isLaneLeg ) {
-      Global_MappingLaneLeg::SynchronizeMacroPlanData( this, macroPlan, executionUser );
-    }
+    info( macroPlan.BusinessType() );
+    info( organcodelist.Element( 0 ) );
+    //
+    //if ( isUnitOfMeasure_MP ) {
+    //  Global_MappingUnitOfMeasure_MP::SynchronizeMacroPlanData( this, macroPlan );
+    //}
+    //
+    //if ( isCustomOrder ) {
+    //  Global_MappingCustomOrder::SynchronizeMacroPlanData( this, macroPlan, businessTypes, organcodelist, executionUser );
+    //}
+    //
+    //if ( isForeacst ) {
+    //  Global_MappingForecast::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist );
+    //}
+    //
+    //if ( isSalesSegment_MP ) {
+    //  Global_MappingSalesSegment_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes );
+    //}
+    //
+    //if ( isProduct_MP ) {
+    //  Global_MappingProduct_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, macroPlan.IsKeyProduct() );
+    //}
+    //
+    //if ( isConversionFactor ) {
+    //  Global_MappingConversionFactor::SynchronizeMacroPlanData( this, macroPlan, executionUser );
+    //}
+    //
+    //if ( isOperation ) {
+    //  Global_MappingOperation::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist );
+    //}
+    //
+    //if ( isOperationBOM ) {
+    //  Global_MappingOperationBOM::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist, macroPlan.IsKeyProduct(), macroPlan.CreatePurchaseSupplyMaterial() );
+    //}
+    //
+    //if ( isProductInLane ) {
+    //  Global_MappingProductInLane::SynchronizeMacroPlanData( this, macroPlan, businessTypes, executionUser );
+    //}
+    //
+    //if ( isAIPISPIP ) {
+    //  Global_MappingActualProductInStockingPointInPeriod::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist, macroPlan.IsKeyProduct() );
+    //}
+    //
+    //if ( isInventorySupply ) {
+    //  Global_MappingInventorySupply::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist, macroPlan.IsKeyProduct() );
+    //}
+    //
+    //if ( isStockingPointCost ) {
+    //  Global_MappingStockingPointCost::SynchronizeMacroPlanData( this, macroPlan, businessTypes, executionUser );
+    //}
+    //
+    //if ( isOperationCost ) {
+    //  Global_MappingOperationCost::SynchronizeMacroPlanData( this, macroPlan, executionUser, businessTypes, organcodelist );
+    //}
+    //
+    //if ( isStockingPoint_MP ) {
+    //  Global_MappingStockingPoint_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser );
+    //}
+    //
+    //if ( isCurrency_MP ) {
+    //  Global_MappingCurrency_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser );
+    //}
+    //
+    //if ( isCurrencyRate_MP ) {
+    //  Global_MappingCurrencyRate_MP::SynchronizeMacroPlanData( this, macroPlan, executionUser );
+    //}
+    //
+    //if ( isLane ) {
+    //  Global_MappingLane::SynchronizeMacroPlanData( this, macroPlan, executionUser );
+    //}
+    //
+    //if ( isLaneLeg ) {
+    //  Global_MappingLaneLeg::SynchronizeMacroPlanData( this, macroPlan, executionUser );
+    //}
   *]
 }

--
Gitblit v1.9.3