From d0ce0f549cd0d63cac13c6dc14411c79d7dae113 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期二, 24 十二月 2024 17:38:42 +0800
Subject: [PATCH] 添加注释,修复一些bug

---
 _Main/BL/Type_ShiftPlan/Attribute_Color.qbl                                                                                  |    1 
 _Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersion.qbl                                                           |    1 
 _Main/BL/Type_ShiftPlan/Attribute_DefaultRemark.qbl                                                                          |    1 
 _Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl                                                            |    1 
 _Main/BL/Type_LocalColumn/Attribute_IsAttrbuteColumn.qbl                                                                     |    1 
 _Main/BL/Type_LocalRow/Attribute_ProductionLine.qbl                                                                          |    1 
 _Main/BL/Type_MP_Cell_AnnualPlanReport0/Attribute_NewSupply.qbl                                                              |    1 
 _Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl                                                                 |    1 
 _Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersionValue.qbl                                                   |    1 
 _Main/BL/Type_LocalRow/Attribute_Remark.qbl                                                                                  |    1 
 _Main/BL/Type_LocalRow/Attribute_Name.qbl                                                                                    |    1 
 _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditForecast/Response_MacroPlanner_pnlActions_bSplitUsingCurve_OnClick.def |    1 
 _Main/BL/Type_LocalCell_DemandComparison/Attribute_Gap.qbl                                                                   |    1 
 _Main/BL/Type_LocalCell_ScheduleSummary#859/_ROOT_Type_LocalCell_ScheduleSummary.qbl                                         |    1 
 _Main/BL/Type_LocalTable/Attribute_Name.qbl                                                                                  |    1 
 _Main/BL/Type_LocalColumn/Attribute_TimeUnit.qbl                                                                             |    1 
 _Main/BL/Type_LocalCell_ProductionComparison/Attribute_Actual.qbl                                                            |    1 
 _Main/BL/Type_ShiftPlan/Attribute_Outcome.qbl                                                                                |    1 
 _Main/BL/Type_Archive/StaticMethod_Archive.qbl                                                                               |    5 +-
 _Main/BL/Type_LocalRow/Attribute_ProductID.qbl                                                                               |    1 
 _Main/BL/Type_DispatchShiftPlan/Attribute_ID.qbl                                                                             |    1 
 _Main/BL/Type_LocalColumn/Attribute_Index.qbl                                                                                |    1 
 _Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersionValue.qbl                                                      |    1 
 _Main/BL/Type_MP_Cell_ScheduleSummary0/Attribute_ShiftPattern.qbl                                                            |    1 
 _Main/BL/Type_LocalRow/Attribute_CustomName.qbl                                                                              |    1 
 _Main/BL/Type_ShiftPlan/Attribute_IsHoliday.qbl                                                                              |    1 
 _Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl                                                                      |    4 +
 _Main/BL/Type_ShiftPlan/Attribute_EventType.qbl                                                                              |    1 
 _Main/BL/Type_ShiftPlan/Attribute_Remark.qbl                                                                                 |    1 
 _Main/BL/Type_LocalColumn/Attribute_CustomIndex.qbl                                                                          |    1 
 _Main/BL/Type_LocalColumn/Attribute_CustomName.qbl                                                                           |    1 
 _Main/BL/Type_LocalColumn/Attribute_CustomDate.qbl                                                                           |    1 
 _Main/BL/Type_LocalRow/Attribute_StockingPointID.qbl                                                                         |    1 
 _Main/BL/Type_LocalCell_Default/StaticMethod_GenerateAnnualPlanReport.qbl                                                    |    2 
 _Main/BL/Type_LocalTable/Attribute_RowIndexCache.qbl                                                                         |    1 
 _Main/BL/Type_DispatchShiftPlan/Attribute_ShiftQty.qbl                                                                       |    1 
 _Main/BL/Type_LocalColumn/Attribute_Name.qbl                                                                                 |    1 
 _Main/BL/Type_LocalRow/Attribute_Index.qbl                                                                                   |    1 
 _Main/BL/Type_LocalCell_ProductionComparison/Attribute_Gap.qbl                                                               |    1 
 _Main/BL/Type_LocalTable/Attribute_CreateTime.qbl                                                                            |    1 
 _Main/BL/Type_LocalColumn/Attribute_Date.qbl                                                                                 |    1 
 _Main/BL/Type_LocalCell_Default/Attribute_RealValue.qbl                                                                      |    1 
 _Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl                                                                          |    1 
 _Main/BL/Type_LocalCell_Default/StaticMethod_GenerateComprehensiveHoursReport#1.qbl                                          |    2 
 /dev/null                                                                                                                    |    6 ---
 _Main/BL/Type_LocalCell_ProductionComparison/_ROOT_Type_LocalCell_ProductionComparison.qbl                                   |    2 
 _Main/BL/Type_ShiftPlan/Attribute_CustomRemark.qbl                                                                           |    1 
 _Main/BL/Type_DispatchShiftProductionInformation/Attribute_OrderNumber.qbl                                                   |    1 
 _Main/BL/Type_LocalCell_Default/StaticMethod_GenerateStandardHoursReport.qbl                                                 |    2 
 _Main/BL/Type_LocalCell_ProductionComparison/Attribute_Plan.qbl                                                              |    1 
 _Main/BL/Type_LocalCell_ScheduleSummary#859/Attribute_ShiftPattern.qbl                                                       |    1 
 _Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersion.qbl                                                        |    1 
 52 files changed, 55 insertions(+), 13 deletions(-)

diff --git a/_Main/BL/Type_Archive/StaticMethod_Archive.qbl b/_Main/BL/Type_Archive/StaticMethod_Archive.qbl
index 88253cb..e3614dd 100644
--- a/_Main/BL/Type_Archive/StaticMethod_Archive.qbl
+++ b/_Main/BL/Type_Archive/StaticMethod_Archive.qbl
@@ -52,14 +52,15 @@
           } else {
             archive.ArchiveFile( relnew,ArchivePPA, Name := fileName, FilePath := filePath, SourceFileBinaryValue := ppaBinaryValue );
           }
-          
+        }
+      }
+      if ( archiveType = "PPA" ) {
           // 瀛樻。Curve
           ac := select( archive, ArchiveFile.astype( ArchiveCurve ), tempAC, true );
           if ( not isnull( ac ) ) {
             ac.Delete();
           }
           archive.ArchiveFile( relnew,ArchiveCurve, Name := "濮嬬粓鍙瓨涓�鐗�.xlsx", FilePath := curveFileName, SourceFileBinaryValue := curveBinaryValue );
-        }
       }
     }
   *]
diff --git a/_Main/BL/Type_DispatchShiftPlan/Attribute_ID.qbl b/_Main/BL/Type_DispatchShiftPlan/Attribute_ID.qbl
index 1c70718..9983006 100644
--- a/_Main/BL/Type_DispatchShiftPlan/Attribute_ID.qbl
+++ b/_Main/BL/Type_DispatchShiftPlan/Attribute_ID.qbl
@@ -3,6 +3,7 @@
 Attribute ID
 {
   #keys: '3[414996.1.17710059][414996.1.17710058][414996.1.17710060]'
+  Description: '鍞竴鍙鏍囪瘑绗�'
   IsReadOnly: true
   ValueType: String
 }
diff --git a/_Main/BL/Type_DispatchShiftPlan/Attribute_ShiftQty.qbl b/_Main/BL/Type_DispatchShiftPlan/Attribute_ShiftQty.qbl
index 3f1cccd..e243625 100644
--- a/_Main/BL/Type_DispatchShiftPlan/Attribute_ShiftQty.qbl
+++ b/_Main/BL/Type_DispatchShiftPlan/Attribute_ShiftQty.qbl
@@ -3,5 +3,6 @@
 Attribute ShiftQty
 {
   #keys: '3[414996.1.206760016][414996.1.206760015][414996.1.206760017]'
+  Description: '鐝浠g爜'
   ValueType: String
 }
diff --git a/_Main/BL/Type_DispatchShiftProductionInformation/Attribute_OrderNumber.qbl b/_Main/BL/Type_DispatchShiftProductionInformation/Attribute_OrderNumber.qbl
index 0f3a203..d028ba9 100644
--- a/_Main/BL/Type_DispatchShiftProductionInformation/Attribute_OrderNumber.qbl
+++ b/_Main/BL/Type_DispatchShiftProductionInformation/Attribute_OrderNumber.qbl
@@ -3,5 +3,6 @@
 Attribute OrderNumber
 {
   #keys: '3[414996.1.268920158][414996.1.268920157][414996.1.268920159]'
+  Description: '璁㈠崟缂栧彿'
   ValueType: Number
 }
diff --git a/_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl b/_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl
index ec71217..8b63606 100644
--- a/_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl
+++ b/_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl
@@ -3,6 +3,7 @@
 Attribute ID
 {
   #keys: '3[414996.1.67010089][414996.1.67010088][414996.1.67010090]'
+  Description: '鍞竴鍙鏍囪瘑绗�'
   IsReadOnly: true
   ValueType: String
 }
diff --git a/_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ID.qbl b/_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ID.qbl
deleted file mode 100644
index 049abc0..0000000
--- a/_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ID.qbl
+++ /dev/null
@@ -1,6 +0,0 @@
-Quintiq file version 2.0
-#parent: #root
-DefaultValue
-{
-  TargetAttribute: ID
-}
diff --git a/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl b/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl
index b4c0858..f4cabca 100644
--- a/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl
+++ b/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl
@@ -7,6 +7,7 @@
   Date startDate,
   Date endDate,
   Real quantity,
+  String origin,
   String curve,
   const Archive archive,
   ArchiveExecutionStatus archiveExecutionStatus
@@ -21,7 +22,7 @@
     macroPlan := salesSegment.MacroPlan();
     ac := select( archive, ArchiveFile.astype( ArchiveCurve ), tempAC, true );
     
-    pathCurve     := filePath + ac.Name();
+    pathCurve     := filePath + ac.FilePath();
     Archive::WriteTempFile( pathCurve, ac.SourceFileBinaryValue() );
     
     // 璇锋眰鍙傛暟
@@ -32,6 +33,7 @@
                      .Add( "startDate", startDate.Format( "Y-M2-D2") )
                      .Add( "endDate", endDate.Format( "Y-M2-D2") )
                      .Add( "quantity", quantity )
+                     .Add( "origin", origin )
                      .Add( "curve", curve )
                      .Add( "pathCurve", pathCurve ).Build().AsString();
     
diff --git a/_Main/BL/Type_LocalCell_Default/Attribute_RealValue.qbl b/_Main/BL/Type_LocalCell_Default/Attribute_RealValue.qbl
index 14538b0..fa0b8ec 100644
--- a/_Main/BL/Type_LocalCell_Default/Attribute_RealValue.qbl
+++ b/_Main/BL/Type_LocalCell_Default/Attribute_RealValue.qbl
@@ -3,5 +3,6 @@
 Attribute RealValue
 {
   #keys: '3[412672.1.5620867][412672.1.5620866][412672.1.5620868]'
+  Description: '鍊�'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl b/_Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl
index fbca9f3..e0f1468 100644
--- a/_Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl
+++ b/_Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl
@@ -6,6 +6,7 @@
   const constcontent LocalColumns columns
 )
 {
+  Description: '寮傛瀵煎嚭鏂规硶'
   TextBody:
   [*
     // rislai Jun-20-2024 (created)
diff --git a/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateAnnualPlanReport.qbl b/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateAnnualPlanReport.qbl
index eb6865b..cf71096 100644
--- a/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateAnnualPlanReport.qbl
+++ b/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateAnnualPlanReport.qbl
@@ -69,7 +69,7 @@
        }
     }
     
-    traverse( macroPlan,Product_MP.ProductInStockingPoint_MP,pisp_mp ){
+    traverse( macroPlan,Product_MP.ProductInStockingPoint_MP,pisp_mp ,pisp_mp.StockingPointID() <> "CC澶栫搴�"){
       pispippls := selectset( pisp_mp,ProductInStockingPointInPeriod.astype( ProductInStockingPointInPeriodPlanningLeaf ),pispippl,
                               pispippl.Period_MP().StartDate() > endDate 
                               and pispippl.Period_MP().TimeUnit() = Translations::MP_GlobalParameters_Day());
diff --git "a/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateComprehensiveHoursReport\0431.qbl" "b/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateComprehensiveHoursReport\0431.qbl"
index c2cabf4..30b6f3d 100644
--- "a/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateComprehensiveHoursReport\0431.qbl"
+++ "b/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateComprehensiveHoursReport\0431.qbl"
@@ -25,7 +25,7 @@
     
     column8 := table.LocalColumn( relnew,CustomName := "鎬昏鍔犵彮/娆犲伐璐�" ,CustomIndex := 8);
     
-    units := selectset( shiftPlans,Elements.UnitPeriodTime.Unit,unit,true );
+    units := selectsortedset( shiftPlans,Elements.UnitPeriodTime.Unit,unit,unit.Name() );
     
     rows := construct( LocalRows );
     rowIndexTree := NamedValueTree::Create();
diff --git a/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateStandardHoursReport.qbl b/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateStandardHoursReport.qbl
index 6f3185c..6ac4c0f 100644
--- a/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateStandardHoursReport.qbl
+++ b/_Main/BL/Type_LocalCell_Default/StaticMethod_GenerateStandardHoursReport.qbl
@@ -29,7 +29,7 @@
     
     column12 := table.LocalColumn( relnew,CustomName := "鎬诲姞鐝垂" ,CustomIndex := 12);
     
-    units := selectset( shiftPlans,Elements.UnitPeriodTime.Unit,unit,true );
+    units := selectsortedset( shiftPlans,Elements.UnitPeriodTime.Unit,unit,unit.Name() );
     
     rows := construct( LocalRows );
     rowIndexTree := NamedValueTree::Create();
diff --git a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersion.qbl b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersion.qbl
index e4182b7..9d9ec52 100644
--- a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersion.qbl
+++ b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersion.qbl
@@ -3,5 +3,6 @@
 Attribute BaseVersion
 {
   #keys: '3[412672.0.1087844729][412672.0.1087844728][412672.0.1087844730]'
+  Description: '鍩哄噯鎶ヨ〃鐨凴eal鍊�'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersionValue.qbl b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersionValue.qbl
index 7084a1a..a10e3cd 100644
--- a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersionValue.qbl
+++ b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_BaseVersionValue.qbl
@@ -3,5 +3,6 @@
 Attribute BaseVersionValue
 {
   #keys: '3[412672.0.1087874641][412672.0.1087874640][412672.0.1087874642]'
+  Description: '鍩哄噯鎶ヨ〃鐨凷tring鍊�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersion.qbl b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersion.qbl
index 1884719..b437d96 100644
--- a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersion.qbl
+++ b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersion.qbl
@@ -3,5 +3,6 @@
 Attribute CompareVersion
 {
   #keys: '3[412672.0.1087844726][412672.0.1087844725][412672.0.1087844727]'
+  Description: '瀵规瘮鎶ヨ〃鐨凴eal鍊�'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersionValue.qbl b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersionValue.qbl
index a1a480c..618a719 100644
--- a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersionValue.qbl
+++ b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_CompareVersionValue.qbl
@@ -3,5 +3,6 @@
 Attribute CompareVersionValue
 {
   #keys: '3[412672.0.1087874649][412672.0.1087874648][412672.0.1087874650]'
+  Description: '瀵规瘮鎶ヨ〃鐨凷tring鍊�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_Gap.qbl b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_Gap.qbl
index efe049a..76c1b6d 100644
--- a/_Main/BL/Type_LocalCell_DemandComparison/Attribute_Gap.qbl
+++ b/_Main/BL/Type_LocalCell_DemandComparison/Attribute_Gap.qbl
@@ -3,5 +3,6 @@
 Attribute Gap
 {
   #keys: '3[412672.0.1087844732][412672.0.1087844731][412672.0.1087844733]'
+  Description: '鍩哄噯鎶ヨ〃鍜屽姣旀姤琛ㄧ殑Real鍊煎樊鍊�'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Actual.qbl b/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Actual.qbl
index e46be0b..b5e1a87 100644
--- a/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Actual.qbl
+++ b/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Actual.qbl
@@ -3,5 +3,6 @@
 Attribute Actual
 {
   #keys: '3[412672.1.64753749][412672.1.64753748][412672.1.64753750]'
+  Description: '瀹為檯浜ч噺'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Gap.qbl b/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Gap.qbl
index e066a00..f75133c 100644
--- a/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Gap.qbl
+++ b/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Gap.qbl
@@ -3,5 +3,6 @@
 Attribute Gap
 {
   #keys: '3[412672.1.64753755][412672.1.64753754][412672.1.64753756]'
+  Description: '瀹為檯浜ч噺涓庤鍒掍骇閲忕殑宸��'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Plan.qbl b/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Plan.qbl
index 7592aad..8185811 100644
--- a/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Plan.qbl
+++ b/_Main/BL/Type_LocalCell_ProductionComparison/Attribute_Plan.qbl
@@ -3,5 +3,6 @@
 Attribute Plan
 {
   #keys: '3[412672.1.64753743][412672.1.64753742][412672.1.64753744]'
+  Description: '璁″垝浜ч噺'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_LocalCell_ProductionComparison/_ROOT_Type_LocalCell_ProductionComparison.qbl b/_Main/BL/Type_LocalCell_ProductionComparison/_ROOT_Type_LocalCell_ProductionComparison.qbl
index ddeedb1..89c465a 100644
--- a/_Main/BL/Type_LocalCell_ProductionComparison/_ROOT_Type_LocalCell_ProductionComparison.qbl
+++ b/_Main/BL/Type_LocalCell_ProductionComparison/_ROOT_Type_LocalCell_ProductionComparison.qbl
@@ -4,7 +4,7 @@
 TypeSpecialization LocalCell_ProductionComparison
 {
   #keys: '2[412672.1.64753741][412672.1.64753740]'
-  Description: '鐢熶骇璁″垝瀵规瘮鎶ヨ〃'
+  Description: '鐢熶骇璁″垝瀵规瘮鎶ヨ〃_浜ч噺瀵规瘮鎶ヨ〃'
   Parent: LocalCell
   StructuredName: 'LocalCell_ProductionComparisons'
 }
diff --git "a/_Main/BL/Type_LocalCell_ScheduleSummary\043859/Attribute_ShiftPattern.qbl" "b/_Main/BL/Type_LocalCell_ScheduleSummary\043859/Attribute_ShiftPattern.qbl"
index cfc4461..d62d800 100644
--- "a/_Main/BL/Type_LocalCell_ScheduleSummary\043859/Attribute_ShiftPattern.qbl"
+++ "b/_Main/BL/Type_LocalCell_ScheduleSummary\043859/Attribute_ShiftPattern.qbl"
@@ -3,5 +3,6 @@
 Attribute ShiftPattern
 {
   #keys: '3[412672.1.95303224][412672.1.95303223][412672.1.95303225]'
+  Description: 'Shift Pattern'
   ValueType: String
 }
diff --git "a/_Main/BL/Type_LocalCell_ScheduleSummary\043859/DefaultValue_ShiftPattern.qbl" "b/_Main/BL/Type_LocalCell_ScheduleSummary\043859/DefaultValue_ShiftPattern.qbl"
deleted file mode 100644
index 2877e16..0000000
--- "a/_Main/BL/Type_LocalCell_ScheduleSummary\043859/DefaultValue_ShiftPattern.qbl"
+++ /dev/null
@@ -1,6 +0,0 @@
-Quintiq file version 2.0
-#parent: #root
-DefaultValue
-{
-  TargetAttribute: ShiftPattern
-}
diff --git "a/_Main/BL/Type_LocalCell_ScheduleSummary\043859/_ROOT_Type_LocalCell_ScheduleSummary.qbl" "b/_Main/BL/Type_LocalCell_ScheduleSummary\043859/_ROOT_Type_LocalCell_ScheduleSummary.qbl"
index 5d6b975..e1bccbb 100644
--- "a/_Main/BL/Type_LocalCell_ScheduleSummary\043859/_ROOT_Type_LocalCell_ScheduleSummary.qbl"
+++ "b/_Main/BL/Type_LocalCell_ScheduleSummary\043859/_ROOT_Type_LocalCell_ScheduleSummary.qbl"
@@ -4,6 +4,7 @@
 TypeSpecialization LocalCell_ScheduleSummary
 {
   #keys: '2[412672.1.95303218][412672.1.95303213]'
+  Description: '璁″垝姹囨�绘姤琛�'
   Parent: LocalCell
   StructuredName: 'LocalCell_ScheduleSummarys'
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_CustomDate.qbl b/_Main/BL/Type_LocalColumn/Attribute_CustomDate.qbl
index e6fafe9..829baea 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_CustomDate.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_CustomDate.qbl
@@ -3,5 +3,6 @@
 Attribute CustomDate
 {
   #keys: '3[412672.1.50711484][412672.1.50711483][412672.1.50711485]'
+  Description: '鑷畾涔夋棩鏈�'
   ValueType: Date
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_CustomIndex.qbl b/_Main/BL/Type_LocalColumn/Attribute_CustomIndex.qbl
index 08e7058..ff84977 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_CustomIndex.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_CustomIndex.qbl
@@ -3,5 +3,6 @@
 Attribute CustomIndex
 {
   #keys: '3[412672.1.64721865][412672.1.64721864][412672.1.64721866]'
+  Description: '鑷畾涔夊垪搴忓彿'
   ValueType: Number
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_CustomName.qbl b/_Main/BL/Type_LocalColumn/Attribute_CustomName.qbl
index d407e8c..6bc83ae 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_CustomName.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_CustomName.qbl
@@ -3,5 +3,6 @@
 Attribute CustomName
 {
   #keys: '3[414996.1.141371567][414996.1.141371566][414996.1.141371568]'
+  Description: '鑷畾涔夊垪鍚�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_Date.qbl b/_Main/BL/Type_LocalColumn/Attribute_Date.qbl
index 9b0c643..d06a385 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_Date.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_Date.qbl
@@ -3,5 +3,6 @@
 Attribute Date
 {
   #keys: '3[412672.0.1120948156][412672.0.1120948155][412672.0.1120948157]'
+  Description: '璁$畻鏃ユ湡锛氫紭鍏堜娇鐢ㄨ嚜瀹氫箟鏃ユ湡锛屾垨鑰呬粠鑷畾涔夊垪鍚嶄腑璁$畻'
   ValueType: Date
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl b/_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl
index 868f776..bd04686 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl
@@ -3,5 +3,6 @@
 Attribute DisplayDate
 {
   #keys: '3[414996.1.170054736][414996.1.170054735][414996.1.170054737]'
+  Description: '灞曠ず鐨勬棩鏈燂細鍦ㄥ懆棰楃矑搴﹀拰鏈堥绮掑害浼氫笌鏃ラ绮掑害灞曠ず褰㈠紡涓嶄竴鏍�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_Index.qbl b/_Main/BL/Type_LocalColumn/Attribute_Index.qbl
index b7fb3ba..77cc0c7 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_Index.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_Index.qbl
@@ -3,5 +3,6 @@
 Attribute Index
 {
   #keys: '3[412672.0.1086931887][412672.0.1086931886][412672.0.1086931888]'
+  Description: '璁$畻Index锛氫紭鍏堜娇鐢ㄨ嚜瀹氫箟Index'
   ValueType: Number
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_IsAttrbuteColumn.qbl b/_Main/BL/Type_LocalColumn/Attribute_IsAttrbuteColumn.qbl
index a41fb0a..cfb7937 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_IsAttrbuteColumn.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_IsAttrbuteColumn.qbl
@@ -3,5 +3,6 @@
 Attribute IsAttrbuteColumn
 {
   #keys: '3[412672.0.1087874665][412672.0.1087874664][412672.0.1087874666]'
+  Description: '鏄惁鏄睘鎬у垪'
   ValueType: Boolean
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_Name.qbl b/_Main/BL/Type_LocalColumn/Attribute_Name.qbl
index 2563e73..1cdd732 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_Name.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_Name.qbl
@@ -3,5 +3,6 @@
 Attribute Name
 {
   #keys: '3[412672.0.1086931874][412672.0.1086931873][412672.0.1086931875]'
+  Description: '璁$畻鍚嶇О锛氫紭鍏堜娇鐢ㄨ绠楀悕绉�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalColumn/Attribute_TimeUnit.qbl b/_Main/BL/Type_LocalColumn/Attribute_TimeUnit.qbl
index 1ebbe55..bf3fa89 100644
--- a/_Main/BL/Type_LocalColumn/Attribute_TimeUnit.qbl
+++ b/_Main/BL/Type_LocalColumn/Attribute_TimeUnit.qbl
@@ -3,5 +3,6 @@
 Attribute TimeUnit
 {
   #keys: '3[412672.1.108145936][412672.1.108145935][412672.1.108145937]'
+  Description: '鏃ユ湡棰楃矑搴︼細鏃ワ紝鍛紝鏈�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_CustomName.qbl b/_Main/BL/Type_LocalRow/Attribute_CustomName.qbl
index 26849a4..dbd8773 100644
--- a/_Main/BL/Type_LocalRow/Attribute_CustomName.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_CustomName.qbl
@@ -3,5 +3,6 @@
 Attribute CustomName
 {
   #keys: '3[412672.0.1094515780][412672.0.1094515779][412672.0.1094515781]'
+  Description: '鑷畾涔夎鍚�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_Index.qbl b/_Main/BL/Type_LocalRow/Attribute_Index.qbl
index 8aac77b..0e35656 100644
--- a/_Main/BL/Type_LocalRow/Attribute_Index.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_Index.qbl
@@ -3,5 +3,6 @@
 Attribute Index
 {
   #keys: '3[412672.0.1086931843][412672.0.1086931842][412672.0.1086931844]'
+  Description: '琛岀紪鍙�'
   ValueType: Number
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_Name.qbl b/_Main/BL/Type_LocalRow/Attribute_Name.qbl
index f53aa08..71018d8 100644
--- a/_Main/BL/Type_LocalRow/Attribute_Name.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_Name.qbl
@@ -3,5 +3,6 @@
 Attribute Name
 {
   #keys: '3[412672.0.1087844675][412672.0.1087844674][412672.0.1087844676]'
+  Description: '璁$畻琛屽悕锛氫紭鍏堜娇鐢ㄨ嚜瀹氫箟琛屽悕锛屾垨鑰呬娇鐢ㄨ缂栧彿'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_ProductID.qbl b/_Main/BL/Type_LocalRow/Attribute_ProductID.qbl
index cc3a825..b5f2e20 100644
--- a/_Main/BL/Type_LocalRow/Attribute_ProductID.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_ProductID.qbl
@@ -3,5 +3,6 @@
 Attribute ProductID
 {
   #keys: '3[412672.1.107689520][412672.1.107689519][412672.1.107689521]'
+  Description: '闆朵欢缂栧彿'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_ProductionLine.qbl b/_Main/BL/Type_LocalRow/Attribute_ProductionLine.qbl
index 1834f7b..bc54e16 100644
--- a/_Main/BL/Type_LocalRow/Attribute_ProductionLine.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_ProductionLine.qbl
@@ -3,5 +3,6 @@
 Attribute ProductionLine
 {
   #keys: '3[414996.1.142908762][414996.1.142908761][414996.1.142908763]'
+  Description: '浜х嚎鍚嶇О'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_Remark.qbl b/_Main/BL/Type_LocalRow/Attribute_Remark.qbl
index ccc01d0..d87c8c5 100644
--- a/_Main/BL/Type_LocalRow/Attribute_Remark.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_Remark.qbl
@@ -3,5 +3,6 @@
 Attribute Remark
 {
   #keys: '3[412672.1.76649345][412672.1.76649344][412672.1.76649346]'
+  Description: '澶囨敞'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/Attribute_StockingPointID.qbl b/_Main/BL/Type_LocalRow/Attribute_StockingPointID.qbl
index 7d6d3b9..c83b4a0 100644
--- a/_Main/BL/Type_LocalRow/Attribute_StockingPointID.qbl
+++ b/_Main/BL/Type_LocalRow/Attribute_StockingPointID.qbl
@@ -3,5 +3,6 @@
 Attribute StockingPointID
 {
   #keys: '3[412672.1.107689523][412672.1.107689522][412672.1.107689524]'
+  Description: '搴撳瓨鐐瑰悕绉�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalRow/DefaultValue_ProductID.qbl b/_Main/BL/Type_LocalRow/DefaultValue_ProductID.qbl
deleted file mode 100644
index 98649b2..0000000
--- a/_Main/BL/Type_LocalRow/DefaultValue_ProductID.qbl
+++ /dev/null
@@ -1,6 +0,0 @@
-Quintiq file version 2.0
-#parent: #root
-DefaultValue
-{
-  TargetAttribute: ProductID
-}
diff --git a/_Main/BL/Type_LocalRow/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_LocalRow/DefaultValue_StockingPointID.qbl
deleted file mode 100644
index fbb83fc..0000000
--- a/_Main/BL/Type_LocalRow/DefaultValue_StockingPointID.qbl
+++ /dev/null
@@ -1,6 +0,0 @@
-Quintiq file version 2.0
-#parent: #root
-DefaultValue
-{
-  TargetAttribute: StockingPointID
-}
diff --git a/_Main/BL/Type_LocalTable/Attribute_CreateTime.qbl b/_Main/BL/Type_LocalTable/Attribute_CreateTime.qbl
index 081271c..cc0567b 100644
--- a/_Main/BL/Type_LocalTable/Attribute_CreateTime.qbl
+++ b/_Main/BL/Type_LocalTable/Attribute_CreateTime.qbl
@@ -3,5 +3,6 @@
 Attribute CreateTime
 {
   #keys: '3[414996.1.213514774][414996.1.213514773][414996.1.213514775]'
+  Description: '鍐呭瓨琛ㄧ敓鎴愭椂闂�'
   ValueType: DateTime
 }
diff --git a/_Main/BL/Type_LocalTable/Attribute_Name.qbl b/_Main/BL/Type_LocalTable/Attribute_Name.qbl
index feeb6a2..40109ab 100644
--- a/_Main/BL/Type_LocalTable/Attribute_Name.qbl
+++ b/_Main/BL/Type_LocalTable/Attribute_Name.qbl
@@ -3,5 +3,6 @@
 Attribute Name
 {
   #keys: '3[412672.0.1094514009][412672.0.1094514008][412672.0.1094514010]'
+  Description: '琛ㄥ悕绉�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_LocalTable/Attribute_RowIndexCache.qbl b/_Main/BL/Type_LocalTable/Attribute_RowIndexCache.qbl
index 117f3c1..cc3fe6f 100644
--- a/_Main/BL/Type_LocalTable/Attribute_RowIndexCache.qbl
+++ b/_Main/BL/Type_LocalTable/Attribute_RowIndexCache.qbl
@@ -3,5 +3,6 @@
 Attribute RowIndexCache
 {
   #keys: '3[412672.0.1086954704][412672.0.1086954703][412672.0.1086954705]'
+  Description: '琛岀紪鍙风紦瀛�'
   ValueType: Number
 }
diff --git a/_Main/BL/Type_MP_Cell_AnnualPlanReport0/Attribute_NewSupply.qbl b/_Main/BL/Type_MP_Cell_AnnualPlanReport0/Attribute_NewSupply.qbl
index 631140a..07fef69 100644
--- a/_Main/BL/Type_MP_Cell_AnnualPlanReport0/Attribute_NewSupply.qbl
+++ b/_Main/BL/Type_MP_Cell_AnnualPlanReport0/Attribute_NewSupply.qbl
@@ -3,5 +3,6 @@
 Attribute NewSupply
 {
   #keys: '3[414996.1.219180175][414996.1.219180174][414996.1.219180176]'
+  Description: '瀛樻。鐨凬ewSupply'
   ValueType: Real
 }
diff --git a/_Main/BL/Type_MP_Cell_ScheduleSummary0/Attribute_ShiftPattern.qbl b/_Main/BL/Type_MP_Cell_ScheduleSummary0/Attribute_ShiftPattern.qbl
index 56f95e7..07ed21e 100644
--- a/_Main/BL/Type_MP_Cell_ScheduleSummary0/Attribute_ShiftPattern.qbl
+++ b/_Main/BL/Type_MP_Cell_ScheduleSummary0/Attribute_ShiftPattern.qbl
@@ -3,5 +3,6 @@
 Attribute ShiftPattern
 {
   #keys: '3[414996.1.219180165][414996.1.219180164][414996.1.219180166]'
+  Description: '鐝鍚嶇О'
   ValueType: String
 }
diff --git a/_Main/BL/Type_MP_Cell_ScheduleSummary0/DefaultValue_ShiftPattern.qbl b/_Main/BL/Type_MP_Cell_ScheduleSummary0/DefaultValue_ShiftPattern.qbl
deleted file mode 100644
index 2877e16..0000000
--- a/_Main/BL/Type_MP_Cell_ScheduleSummary0/DefaultValue_ShiftPattern.qbl
+++ /dev/null
@@ -1,6 +0,0 @@
-Quintiq file version 2.0
-#parent: #root
-DefaultValue
-{
-  TargetAttribute: ShiftPattern
-}
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_Color.qbl b/_Main/BL/Type_ShiftPlan/Attribute_Color.qbl
index 506c548..a558631 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_Color.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_Color.qbl
@@ -3,5 +3,6 @@
 Attribute Color
 {
   #keys: '3[412672.0.1082947207][412672.0.1082947206][412672.0.1082947208]'
+  Description: '棰滆壊锛堢敤浜庢爣娉ㄥ崟鍏冩牸棰滆壊锛�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_CustomRemark.qbl b/_Main/BL/Type_ShiftPlan/Attribute_CustomRemark.qbl
index ad2224c..e50cacf 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_CustomRemark.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_CustomRemark.qbl
@@ -3,5 +3,6 @@
 Attribute CustomRemark
 {
   #keys: '3[412672.0.1067124406][412672.0.1067124405][412672.0.1067124407]'
+  Description: '鑷畾涔夋敞閲�'
   ValueType: String
 }
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_DefaultRemark.qbl b/_Main/BL/Type_ShiftPlan/Attribute_DefaultRemark.qbl
index ce26bd7..6fe9a49 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_DefaultRemark.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_DefaultRemark.qbl
@@ -3,5 +3,6 @@
 Attribute DefaultRemark
 {
   #keys: '3[414996.1.72390028][414996.1.72390027][414996.1.72390029]'
+  Description: '榛樿娉ㄩ噴锛屼粠浜х嚎宸ヤ綔鏃ュ巻瀹夋帓鑾峰彇'
   ValueType: String
 }
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_EventType.qbl b/_Main/BL/Type_ShiftPlan/Attribute_EventType.qbl
index b8f0791..6fffcab 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_EventType.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_EventType.qbl
@@ -3,5 +3,6 @@
 Attribute EventType
 {
   #keys: '3[412672.0.1082947252][412672.0.1082947251][412672.0.1082947253]'
+  Description: 'EventType锛屾牴鎹缃笉鍙敤鏃堕棿鐨凟ventType鑾峰彇'
   ValueType: String
 }
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_IsHoliday.qbl b/_Main/BL/Type_ShiftPlan/Attribute_IsHoliday.qbl
index 7b96cc3..92bc3ba 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_IsHoliday.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_IsHoliday.qbl
@@ -3,5 +3,6 @@
 Attribute IsHoliday
 {
   #keys: '3[412672.1.34300030][412672.1.34300029][412672.1.34300031]'
+  Description: '鏄惁鏄亣鏈燂紝EventType瀹氫箟涓鸿妭鍋囨棩涓簍rue'
   ValueType: Boolean
 }
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_Outcome.qbl b/_Main/BL/Type_ShiftPlan/Attribute_Outcome.qbl
index 9770e27..e4a0ddb 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_Outcome.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_Outcome.qbl
@@ -3,5 +3,6 @@
 Attribute Outcome
 {
   #keys: '3[412672.0.1066680021][412672.0.1066680020][412672.0.1066680022]'
+  Description: '绯荤粺鍐匰hiftPattern'
   ValueType: String
 }
diff --git a/_Main/BL/Type_ShiftPlan/Attribute_Remark.qbl b/_Main/BL/Type_ShiftPlan/Attribute_Remark.qbl
index 7837726..2bb1c00 100644
--- a/_Main/BL/Type_ShiftPlan/Attribute_Remark.qbl
+++ b/_Main/BL/Type_ShiftPlan/Attribute_Remark.qbl
@@ -3,5 +3,6 @@
 Attribute Remark
 {
   #keys: '3[412672.0.1066680031][412672.0.1066680030][412672.0.1066680032]'
+  Description: '灞曠ず鐨凴emark, 鑷畾涔夊娉ㄤ负绌烘椂灞曠ず榛樿澶囨敞'
   ValueType: String
 }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditForecast/Response_MacroPlanner_pnlActions_bSplitUsingCurve_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditForecast/Response_MacroPlanner_pnlActions_bSplitUsingCurve_OnClick.def
index b27e508..96f3bb9 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditForecast/Response_MacroPlanner_pnlActions_bSplitUsingCurve_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditForecast/Response_MacroPlanner_pnlActions_bSplitUsingCurve_OnClick.def
@@ -20,6 +20,7 @@
                                  DateSelectorStart.Date(),
                                  DateSelectorEnd.Date(),
                                  [Real]EditFieldQuantityUom.Text(),
+                                 DropDownStringListOrigin.Text(),
                                  DropDownStringListCurve.Text(),
                                  Archive,
                                  ArchiveExecutionStatus );

--
Gitblit v1.9.3