From 23915dd5d346941b176ffa92c19b409361b2d687 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 21 八月 2024 10:09:31 +0800
Subject: [PATCH] 客户需求类

---
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionFlag.qbl                                    |    8 ++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_InterfaceTime.qbl                                  |    8 ++
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupDebug.def |   13 ++++
 _Main/BL/Dataset_InterfaceDataset/Daemon_FinishedEngineInventoryInterface#0.qbl                 |    2 
 _Main/BL/Dataset_InterfaceDataset/Daemon_MachineStockInterface.qbl                              |    2 
 _Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl                                |   15 +++++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandQty.qbl                                      |    8 ++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandDate.qbl                                     |    8 ++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionName.qbl                                    |    8 ++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_Fac.qbl                                            |    8 ++
 _Main/BL/Type_CustomerDemandPPAIDS/_ROOT_Type_CustomerDemandPPAIDS.qbl                          |   10 +++
 _Main/BL/Dataset_InterfaceDataset/Daemon_ShippingActualInterface.qbl                            |    2 
 _Main/BL/Type_InventorySummarySource/StaticMethod_Download.qbl                                  |    8 +-
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuDataPush.def |   24 ++++++++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_FactoryName.qbl                                    |    8 ++
 _Main/BL/Type_CustomerDemandPPAIDS/Attribute_Product.qbl                                        |    8 ++
 16 files changed, 133 insertions(+), 7 deletions(-)

diff --git "a/_Main/BL/Dataset_InterfaceDataset/Daemon_FinishedEngineInventoryInterface\0430.qbl" "b/_Main/BL/Dataset_InterfaceDataset/Daemon_FinishedEngineInventoryInterface\0430.qbl"
index cfbb411..60fb321 100644
--- "a/_Main/BL/Dataset_InterfaceDataset/Daemon_FinishedEngineInventoryInterface\0430.qbl"
+++ "b/_Main/BL/Dataset_InterfaceDataset/Daemon_FinishedEngineInventoryInterface\0430.qbl"
@@ -5,7 +5,7 @@
   Frequency: P1DT0H0M0S
   Priority: 'Default'
   StartDate: 2024-07-19
-  StartTimeOfDay: P0DT9H0M0S
+  StartTimeOfDay: P0DT10H0M0S
   Text:
   [*
     options := DatasetFindOptions::Construct( 'InterfaceDataset' ).IncludeOffline( true ); //to load we must search offline datasets.
diff --git a/_Main/BL/Dataset_InterfaceDataset/Daemon_MachineStockInterface.qbl b/_Main/BL/Dataset_InterfaceDataset/Daemon_MachineStockInterface.qbl
index 066ff70..7f710f2 100644
--- a/_Main/BL/Dataset_InterfaceDataset/Daemon_MachineStockInterface.qbl
+++ b/_Main/BL/Dataset_InterfaceDataset/Daemon_MachineStockInterface.qbl
@@ -5,7 +5,7 @@
   Frequency: P1DT0H0M0S
   Priority: 'Default'
   StartDate: 2024-07-19
-  StartTimeOfDay: P0DT9H0M0S
+  StartTimeOfDay: P0DT10H0M0S
   Text:
   [*
     options := DatasetFindOptions::Construct( 'InterfaceDataset' ).IncludeOffline( true ); //to load we must search offline datasets.
diff --git a/_Main/BL/Dataset_InterfaceDataset/Daemon_ShippingActualInterface.qbl b/_Main/BL/Dataset_InterfaceDataset/Daemon_ShippingActualInterface.qbl
index 8706993..a2bfd9f 100644
--- a/_Main/BL/Dataset_InterfaceDataset/Daemon_ShippingActualInterface.qbl
+++ b/_Main/BL/Dataset_InterfaceDataset/Daemon_ShippingActualInterface.qbl
@@ -5,7 +5,7 @@
   Frequency: P1DT0H0M0S
   Priority: 'Default'
   StartDate: 2024-07-19
-  StartTimeOfDay: P0DT9H0M0S
+  StartTimeOfDay: P0DT10H0M0S
   Text:
   [*
     options := DatasetFindOptions::Construct( 'InterfaceDataset' ).IncludeOffline( true ); //to load we must search offline datasets.
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandDate.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandDate.qbl
new file mode 100644
index 0000000..f12d5d7
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandDate.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute DemandDate
+{
+  #keys: '3[415136.0.1022289854][415136.0.1022289853][415136.0.1022289855]'
+  Description: '闇�姹傛棩鏈�'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandQty.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandQty.qbl
new file mode 100644
index 0000000..5ae579e
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_DemandQty.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute DemandQty
+{
+  #keys: '3[415136.0.1022289864][415136.0.1022289863][415136.0.1022289865]'
+  Description: '闇�姹傛暟閲�'
+  ValueType: Number
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_Fac.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_Fac.qbl
new file mode 100644
index 0000000..8c2df4f
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_Fac.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Fac
+{
+  #keys: '3[415136.0.1022289894][415136.0.1022289893][415136.0.1022289895]'
+  Description: '宸ュ巶绠�鍐�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_FactoryName.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_FactoryName.qbl
new file mode 100644
index 0000000..b3ad34b
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_FactoryName.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute FactoryName
+{
+  #keys: '3[415136.0.1022289884][415136.0.1022289883][415136.0.1022289885]'
+  Description: '宸ュ巶鍚嶇О'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_InterfaceTime.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_InterfaceTime.qbl
new file mode 100644
index 0000000..9e8263e
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_InterfaceTime.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute InterfaceTime
+{
+  #keys: '3[415136.0.1022289904][415136.0.1022289903][415136.0.1022289905]'
+  Description: '鎺ュ彛鏃堕棿'
+  ValueType: DateTime
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_Product.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_Product.qbl
new file mode 100644
index 0000000..6d18ee5
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_Product.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Product
+{
+  #keys: '3[415136.0.1022289844][415136.0.1022289843][415136.0.1022289845]'
+  Description: '鐗╂枡鍙�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionFlag.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionFlag.qbl
new file mode 100644
index 0000000..b2e9412
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionFlag.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute VersionFlag
+{
+  #keys: '3[415136.0.1022289914][415136.0.1022289913][415136.0.1022289915]'
+  Description: '鐗堟湰鏍囪瘑'
+  ValueType: Boolean
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionName.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionName.qbl
new file mode 100644
index 0000000..c88423a
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/Attribute_VersionName.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute VersionName
+{
+  #keys: '3[415136.0.1022289874][415136.0.1022289873][415136.0.1022289875]'
+  Description: '鐗堟湰鍚嶇О'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl
new file mode 100644
index 0000000..6c951ff
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GenerateData (
+  MacroPlan macroplan,
+  Boolean versionflag
+)
+{
+  Description: '鐢熸垚鍙互涓嬪彂鐨勫鎴烽渶姹傦紙PPA+IDS锛夋暟鎹�'
+  TextBody:
+  [*
+    // 鐢勫叞楦� Aug-20-2024 (created)
+    traverse( macroplan, SalesDemand.astype( Forecast ), forecast ){
+    }
+  *]
+}
diff --git a/_Main/BL/Type_CustomerDemandPPAIDS/_ROOT_Type_CustomerDemandPPAIDS.qbl b/_Main/BL/Type_CustomerDemandPPAIDS/_ROOT_Type_CustomerDemandPPAIDS.qbl
new file mode 100644
index 0000000..36fb83f
--- /dev/null
+++ b/_Main/BL/Type_CustomerDemandPPAIDS/_ROOT_Type_CustomerDemandPPAIDS.qbl
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+#root
+#parent: #DomainModel
+Type CustomerDemandPPAIDS
+{
+  #keys: '5[415136.0.1022289840][415136.0.1022289838][0.0.0][415136.0.1022289839][415136.0.1022289841]'
+  BaseType: Object
+  Description: '瀹㈡埛闇�姹傦紙PPA+IDS锛�'
+  StructuredName: 'CustomerDemandPPAIDSs'
+}
diff --git a/_Main/BL/Type_InventorySummarySource/StaticMethod_Download.qbl b/_Main/BL/Type_InventorySummarySource/StaticMethod_Download.qbl
index 2f2dbb5..1bba790 100644
--- a/_Main/BL/Type_InventorySummarySource/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_InventorySummarySource/StaticMethod_Download.qbl
@@ -85,19 +85,19 @@
           //Attribute
           //鏈熸湯搴撳瓨
           endcellElement := xmlDOM.CreateElement( "cell" );
-          endcellElement.SetAttribute( "value", 'EndingInventory' );
+          endcellElement.SetAttribute( "value", '鏈熸湯搴撳瓨' );//EndingInventory
           attricolumnelement.AppendChild( endcellElement );
           //鏈�灏忓簱瀛�
           mincellElement := xmlDOM.CreateElement( "cell" );
-          mincellElement.SetAttribute( "value", 'MinimumInventory' );
+          mincellElement.SetAttribute( "value", '鏈�灏忓簱瀛�' );//MinimumInventory
           attricolumnelement.AppendChild( mincellElement );
           //鏈�澶у簱瀛�
           maxcellElement := xmlDOM.CreateElement( "cell" );
-          maxcellElement.SetAttribute( "value", 'MaximumInventory' );
+          maxcellElement.SetAttribute( "value", '鏈�澶у簱瀛�' );//MaximumInventory
           attricolumnelement.AppendChild( maxcellElement );
           //骞冲潎搴撳瓨
           avecellElement := xmlDOM.CreateElement( "cell" );
-          avecellElement.SetAttribute( "value", 'AverageInventory' );
+          avecellElement.SetAttribute( "value", '骞冲潎搴撳瓨' );//AverageInventory
           attricolumnelement.AppendChild( avecellElement );
         }
         //鏈熸湯搴撳瓨
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupDebug.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupDebug.def
index a24dc49..3006f58 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupDebug.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupDebug.def
@@ -31,6 +31,19 @@
         Taborder: 1
       ]
     }
+    Component ButtonDataPush
+    {
+      #keys: '[415136.0.1020582499]'
+      BaseType: 'WebButton'
+      Children:
+      [
+        #child: ContextMenuDataPush
+      ]
+      Properties:
+      [
+        Taborder: 2
+      ]
+    }
   ]
   Properties:
   [
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuDataPush.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuDataPush.def
new file mode 100644
index 0000000..6c10812
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuDataPush.def
@@ -0,0 +1,24 @@
+Quintiq file version 2.0
+Component ContextMenuDataPush
+{
+  #keys: '[415136.0.1020582519]'
+  BaseType: 'WebContextMenu'
+  Children:
+  [
+    Component MenuDataPushLoginfo
+    {
+      #keys: '[415136.0.1020582520]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'DOCUMENT'
+        Taborder: 0
+        Title: 'Data push loginfo'
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}

--
Gitblit v1.9.3