From 4f426fd0938d68df759fff7570ad6ec2e62bac96 Mon Sep 17 00:00:00 2001
From: renhao <renhui.hao@capgemini.com>
Date: 星期三, 18 十月 2023 09:08:32 +0800
Subject: [PATCH] Merge branch 'dev'

---
 _Main/BL/Type_GlobalDTOTable/Method_InitTestData#12.qbl |   59 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 30 insertions(+), 29 deletions(-)

diff --git "a/_Main/BL/Type_GlobalDTOTable/Method_InitTestData\04312.qbl" "b/_Main/BL/Type_GlobalDTOTable/Method_InitTestData\04312.qbl"
index f59360c..b83e909 100644
--- "a/_Main/BL/Type_GlobalDTOTable/Method_InitTestData\04312.qbl"
+++ "b/_Main/BL/Type_GlobalDTOTable/Method_InitTestData\04312.qbl"
@@ -6,34 +6,35 @@
 {
   TextBody:
   [*
-    // yypsybs Oct-7-2023 (created)
-    productCodeList := selectuniquevalues( macroPlan, Product_MP, item, item.ID() );
-    debuginfo( "productCodeList : " + [String]productCodeList.Size() );
-    
-    if( this.Global_MappingAnnualBudgetData( relsize ) = 0 ) {
-      debuginfo( "create Global_MappingAnnualBudgetData test data" );
-      id := 1;
-      for( year := Date::ActualDate().Year() - 10; year <= Date::ActualDate().Year() + 5; year := year + 1 ) {
-        for( i := 1; i <= productCodeList.Size(); i := i + 1 ) {
-          productCode := productCodeList.Element( i - 1 );
-          mappingAnnualBudget := this.Global_MappingAnnualBudgetData( relnew, 
-                                                                      ID := [String]id,
-                                                                      YearNo := [String]year,
-                                                                      BusinessType := "浜嬩笟閮�" + [String](productCode.Length() mod 3),
-                                                                      ProductID := productCode);
-          id := id + 1;
-          for( month := 1; month <= 12; month := month + 1 ) {
-            field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlyModCapacity" + [String]month );
-            field.Set( mappingAnnualBudget, [String]Real::Random( 20000.0, 30000.0 ) );
-            field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySheetCapacity" + [String]month );
-            field.Set( mappingAnnualBudget, [String]Real::Random( 20000.0, 30000.0 ) );
-            field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySales" + [String]month );
-            field.Set( mappingAnnualBudget, [String]Real::Random( 20000.0, 30000.0 ) );
-          }
-        }
-      }
-      result2 := selectset( this, Global_MappingAnnualBudgetData, item, true );
-      debuginfo( "test MappingAnnualBudget size : " + [String]result2.Size() );
-    }
+    //// yypsybs Oct-7-2023 (created)
+    //productCodeList := selectuniquevalues( macroPlan, Product_MP, item, item.ID() );
+    //debuginfo( "productCodeList : " + [String]productCodeList.Size() );
+    //
+    //this.Global_MappingAnnualBudgetData( relflush );
+    //if( this.Global_MappingAnnualBudgetData( relsize ) = 0 ) {
+    //  debuginfo( "create Global_MappingAnnualBudgetData test data" );
+    //  id := 1;
+    //  for( year := Date::ActualDate().Year() - 10; year <= Date::ActualDate().Year() + 5; year := year + 1 ) {
+    //    for( i := 1; i <= productCodeList.Size(); i := i + 1 ) {
+    //      productCode := productCodeList.Element( i - 1 );
+    //      mappingAnnualBudget := this.Global_MappingAnnualBudgetData( relnew, 
+    //                                                                  ID := [String]id,
+    //                                                                  YearNo := [String]year,
+    //                                                                  BusinessType := "浜嬩笟閮�" + [String](productCode.Length() mod 3),
+    //                                                                  ProductID := productCode);
+    //      id := id + 1;
+    //      for( month := 1; month <= 12; month := month + 1 ) {
+    //        field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlyModCapacity" + [String]month );
+    //        field.Set( mappingAnnualBudget, [String]Real::Random( 20000.0, 30000.0 ) );
+    //        field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySheetCapacity" + [String]month );
+    //        field.Set( mappingAnnualBudget, [String]Real::Random( 20000.0, 30000.0 ) );
+    //        field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySales" + [String]month );
+    //        field.Set( mappingAnnualBudget, [String]Real::Random( 20000.0, 30000.0 ) );
+    //      }
+    //    }
+    //  }
+    //  result2 := selectset( this, Global_MappingAnnualBudgetData, item, true );
+    //  debuginfo( "test MappingAnnualBudget size : " + [String]result2.Size() );
+    //}
   *]
 }

--
Gitblit v1.9.3