From 5c836242f6a2deddffad7e181eb0138cde893bc4 Mon Sep 17 00:00:00 2001
From: limj <limj@taizhitech.com>
Date: 星期三, 13 九月 2023 20:24:16 +0800
Subject: [PATCH] 填产

---
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def                    |   42 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl                                                                     |    6 
 _Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl                                                               |    9 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl                                                                                  |    7 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl                                                                           |    7 
 _Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl                                                                     |   26 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def                                                    |   40 
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def                                                    |   16 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl                                                                       |    6 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl                                                                         |    7 
 _Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl                                                                     |    7 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl                                                                      |    6 
 _Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl                                                                            |    7 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl                                                                          |    6 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl                                                                    |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def                                           |  109 ++
 _Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl                                                                          |    7 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl                                                                     |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def                                   |   15 
 _Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl                                                               |    9 
 _var/_Main/ModelSettings/Common/Development/_ROOT_Role_Development.properties                                                        |    4 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl                                                                      |    7 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl                                                                        |    6 
 _Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl                                                               |   21 
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl                                                                |   28 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def                     |   57 +
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl                                                            |   28 
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def            |   19 
 _Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl                                                                   |    7 
 _Main/BL/Type_BusinessType/Method_UpdateData.qbl                                                                                     |   13 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl                                                                   |    8 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl                                                                        |    8 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl                                                                      |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def                                      |   41 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl                                                                        |    7 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl                                                              |    7 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl                                                                     |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def                                      |   86 +
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def                                         |   25 
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def                   |   46 +
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def                              |   15 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl                                                                            |    8 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl                                                                       |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def                               |   15 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl                                                                        |    6 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def                                            |  125 ++
 _Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl                                  |   23 
 _Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl                                                                  |    7 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl                                                                            |    8 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl                                                               |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def                                            |   40 
 _Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl                                                                               |   10 
 _Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType#675.def                                        |   10 
 _Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def                                                         |   59 +
 _Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl                                                                               |   25 
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl                                                         |   64 +
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def    |   17 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def                                |   59 +
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def         |   35 
 _Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def                                         |   20 
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def                                              |   25 
 _Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl                                              |   23 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl                                                                     |    6 
 _Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl                                                                           |    7 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl                                                                         |    6 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def |   20 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def                                                     |   17 
 _Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl                                                       |    9 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def          |   42 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def                                                       |   25 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl                                                                          |    8 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl                                                                        |    8 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def                                       |   15 
 _Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl                                                                            |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def              |   19 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl                                                                    |    6 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl                                                                       |    6 
 _Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl                                                                           |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def                                            |   15 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl                                                                        |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def                                                              |   15 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def          |   19 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def                                                      |   17 
 _Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl                                                                       |   28 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def                      |   42 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl                                                                         |    8 
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl                                                           |   25 
 _Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl                                                                          |    7 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl                                                                           |    7 
 _Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl                                                                         |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def                                               |   25 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def                     |   15 
 _Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def                                       |   19 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def                                                             |   17 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def       |   10 
 _Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl                                        |   23 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl                                                                             |    8 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl                                                                         |    8 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl                                                                     |    6 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl                                                                     |    6 
 _Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def                                           |   46 +
 _Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl                                                                        |    8 
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def                 |   10 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl                                                                               |    7 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl                                                                 |    6 
 _Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl                                                                           |    7 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl                                                                           |    8 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl                                                                               |    8 
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl                                                          |   26 
 _Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType#367.def                                               |   16 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def                     |   16 
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def              |   20 
 _Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl                                        |   23 
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def                                                     |   15 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl                                                                      |    6 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def                |   20 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl                                                                      |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def                 |   18 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def                           |   15 
 _Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def                                          |   18 
 _Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl                                                               |    7 
 _Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl                                                                    |    7 
 _Main/BL/Type_BusinessType/Method_DeleteData.qbl                                                                                     |   11 
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def                              |   59 +
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl                                                                        |    6 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl                                                                           |    8 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl                                                                   |    6 
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl                                                               |   27 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def                                      |   40 
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def                                           |   40 
 _Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl                                                                        |    7 
 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl                                                                    |   19 
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def                        |   16 
 _Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl                                                   |   17 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl                                                                         |    8 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def                    |   59 +
 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def               |   26 
 _Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl                                                                            |    7 
 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def                         |   18 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl                                                                          |    7 
 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl                                                            |    6 
 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl                                                                 |    6 
 _Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl                                                                               |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def                                                |   10 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def                          |   16 
 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def                   |   10 
 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def                                                    |   25 
 _Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl                                                           |    7 
 _Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl                                                                    |    8 
 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def                          |   15 
 150 files changed, 2,731 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl b/_Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl
new file mode 100644
index 0000000..be40076
--- /dev/null
+++ b/_Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl
@@ -0,0 +1,23 @@
+Quintiq file version 2.0
+#parent: #root
+Relation BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType
+{
+  #keys: '1[414382.0.362030054]'
+  DefaultRelationStrategy
+  {
+  }
+  RelationSide.LeftSide GlobalOTDTable
+  {
+    #keys: '3[414382.0.362030056][414382.0.362030055][414382.0.362030057]'
+    Cardinality: '0to1'
+    ObjectDefinition: BusinessType
+    OwningSide: 'Reference'
+  }
+  RelationSide.RightSide BusinessType
+  {
+    #keys: '3[414382.0.362030059][414382.0.362030058][414382.0.362030060]'
+    Cardinality: '1toN'
+    ObjectDefinition: GlobalOTDTable
+    OwningSide: 'Owned'
+  }
+}
diff --git a/_Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl b/_Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl
new file mode 100644
index 0000000..dc73c2b
--- /dev/null
+++ b/_Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl
@@ -0,0 +1,23 @@
+Quintiq file version 2.0
+#parent: #root
+Relation CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrder
+{
+  #keys: '1[414382.0.412354687]'
+  DefaultRelationStrategy
+  {
+  }
+  RelationSide.LeftSide MacroPlan
+  {
+    #keys: '3[414382.0.412354689][414382.0.412354688][414382.0.412354690]'
+    Cardinality: '0to1'
+    ObjectDefinition: CustomerAndForecastOrder
+    OwningSide: 'Reference'
+  }
+  RelationSide.RightSide CustomerAndForecastOrder
+  {
+    #keys: '3[414382.0.412354692][414382.0.412354691][414382.0.412354693]'
+    Cardinality: '1toN'
+    ObjectDefinition: MacroPlan
+    OwningSide: 'Owned'
+  }
+}
diff --git a/_Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl b/_Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl
new file mode 100644
index 0000000..2b0f0bc
--- /dev/null
+++ b/_Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl
@@ -0,0 +1,23 @@
+Quintiq file version 2.0
+#parent: #root
+Relation FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder
+{
+  #keys: '1[414382.0.394820063]'
+  DefaultRelationStrategy
+  {
+  }
+  RelationSide.LeftSide MacroPlan
+  {
+    #keys: '3[414382.0.394820065][414382.0.394820064][414382.0.394820066]'
+    Cardinality: '0to1'
+    ObjectDefinition: FillingCapacityOrder
+    OwningSide: 'Reference'
+  }
+  RelationSide.RightSide FillingCapacityOrder
+  {
+    #keys: '3[414382.0.394820068][414382.0.394820067][414382.0.394820069]'
+    Cardinality: '1toN'
+    ObjectDefinition: MacroPlan
+    OwningSide: 'Owned'
+  }
+}
diff --git a/_Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl b/_Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl
new file mode 100644
index 0000000..3a7a8c1
--- /dev/null
+++ b/_Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl
@@ -0,0 +1,23 @@
+Quintiq file version 2.0
+#parent: #root
+Relation HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder
+{
+  #keys: '1[414382.0.385610086]'
+  DefaultRelationStrategy
+  {
+  }
+  RelationSide.LeftSide MacroPlan
+  {
+    #keys: '3[414382.0.385610088][414382.0.385610087][414382.0.385610089]'
+    Cardinality: '0to1'
+    ObjectDefinition: HistoricalSalesOrder
+    OwningSide: 'Reference'
+  }
+  RelationSide.RightSide HistoricalSalesOrder
+  {
+    #keys: '3[414382.0.385610091][414382.0.385610090][414382.0.385610092]'
+    Cardinality: '1toN'
+    ObjectDefinition: MacroPlan
+    OwningSide: 'Owned'
+  }
+}
diff --git a/_Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl b/_Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl
new file mode 100644
index 0000000..f2fb6a3
--- /dev/null
+++ b/_Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute BusinessTypeName
+{
+  #keys: '3[414382.0.361554811][414382.0.361554810][414382.0.361554812]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_BusinessType/Method_DeleteData.qbl b/_Main/BL/Type_BusinessType/Method_DeleteData.qbl
new file mode 100644
index 0000000..3bc2d98
--- /dev/null
+++ b/_Main/BL/Type_BusinessType/Method_DeleteData.qbl
@@ -0,0 +1,11 @@
+Quintiq file version 2.0
+#parent: #root
+Method DeleteData
+{
+  TextBody:
+  [*
+    // NBoTk Sep-7-2023 (created)
+    
+    this.Delete();
+  *]
+}
diff --git a/_Main/BL/Type_BusinessType/Method_UpdateData.qbl b/_Main/BL/Type_BusinessType/Method_UpdateData.qbl
new file mode 100644
index 0000000..6a63c02
--- /dev/null
+++ b/_Main/BL/Type_BusinessType/Method_UpdateData.qbl
@@ -0,0 +1,13 @@
+Quintiq file version 2.0
+#parent: #root
+Method UpdateData (
+  String businessTypeName
+)
+{
+  TextBody:
+  [*
+    // NBoTk Sep-7-2023 (created)
+    
+    this.BusinessTypeName(businessTypeName);
+  *]
+}
diff --git a/_Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl b/_Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl
new file mode 100644
index 0000000..0606111
--- /dev/null
+++ b/_Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod CreateData (
+  GlobalOTDTable owner,
+  String businessName
+)
+{
+  TextBody:
+  [*
+    // NBoTk Sep-7-2023 (created)
+    // 鍒涘缓businessType
+    
+    // 鍒ゆ柇鍚嶇О鏄惁瀛樺湪
+    
+    checkExist := exists( owner,BusinessType,b,
+                          true,
+                          b.BusinessTypeName() = businessName
+                          );
+    
+    // 濡傛灉涓嶅瓨鍦ㄥ垯娣诲姞
+    if( not checkExist ){
+      owner.BusinessType(relnew,BusinessTypeName := businessName);
+    }
+  *]
+}
diff --git a/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl b/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl
new file mode 100644
index 0000000..02ecd32
--- /dev/null
+++ b/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl
@@ -0,0 +1,28 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetBusinessNameStr (
+  GlobalOTDTable owner
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-7-2023 (created)
+    
+    // 鑾峰彇businessType 闆嗗悎
+    result := "";
+    businessTypeList := construct( structured[String]);
+    
+    traverse( owner,BusinessType,b)
+    {
+        businessTypeList.Add( b.BusinessTypeName()); 
+    }
+    
+    // 濡傛灉瀛樺湪businessType鏁版嵁 鍒欒繑鍥� : a,b,c
+    
+    if( not isnull( businessTypeList ) )
+    {
+        result := businessTypeList.Concatenate( ";" );
+    }
+    return result;
+  *]
+}
diff --git a/_Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl b/_Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl
new file mode 100644
index 0000000..3074c70
--- /dev/null
+++ b/_Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+#root
+#parent: #DomainModel
+Type BusinessType
+{
+  #keys: '5[414382.0.361591349][414382.0.361591347][0.0.0][414382.0.361591348][414382.0.361591350]'
+  BaseType: Object
+  Description: 'business type'
+  StructuredName: 'BusinessTypes'
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl
new file mode 100644
index 0000000..40608d9
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute BusinessType
+{
+  #keys: '3[414382.0.412354709][414382.0.412354708][414382.0.412354710]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl
new file mode 100644
index 0000000..b2e8166
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Customer
+{
+  #keys: '3[414382.0.412354716][414382.0.412354715][414382.0.412354717]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl
new file mode 100644
index 0000000..23b41c4
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute CustomerID
+{
+  #keys: '3[414382.0.412354719][414382.0.412354718][414382.0.412354720]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl
new file mode 100644
index 0000000..17582b0
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute DemandDate
+{
+  #keys: '3[414382.0.412354743][414382.0.412354742][414382.0.412354744]'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl
new file mode 100644
index 0000000..eeecbc3
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ForecastDemandDate
+{
+  #keys: '3[414382.0.412354746][414382.0.412354745][414382.0.412354747]'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl
new file mode 100644
index 0000000..4cc6f85
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderID
+{
+  #keys: '3[414382.0.412354701][414382.0.412354700][414382.0.412354702]'
+  Description: '璁㈠崟鍙�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl
new file mode 100644
index 0000000..a18cc58
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute PanelBigSheetQuantity
+{
+  #keys: '3[414382.0.412354739][414382.0.412354738][414382.0.412354740]'
+  ValueType: Real
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl
new file mode 100644
index 0000000..28586d6
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ProductID
+{
+  #keys: '3[414382.0.412354712][414382.0.412354711][414382.0.412354713]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl
new file mode 100644
index 0000000..d6f3095
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Quantity
+{
+  #keys: '3[414382.0.412354736][414382.0.412354735][414382.0.412354737]'
+  ValueType: Real
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl
new file mode 100644
index 0000000..8fcddce
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute SalesAmount
+{
+  #keys: '3[414382.0.412354749][414382.0.412354748][414382.0.412354750]'
+  ValueType: Number
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl
new file mode 100644
index 0000000..5aa25d1
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ServiceType
+{
+  #keys: '3[414382.0.412354723][414382.0.412354722][414382.0.412354724]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl
new file mode 100644
index 0000000..c7034c3
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute UnitOfMeasureName
+{
+  #keys: '3[414382.0.412354733][414382.0.412354732][414382.0.412354734]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl
new file mode 100644
index 0000000..7baf45d
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute VerNo
+{
+  #keys: '3[414382.0.412354705][414382.0.412354704][414382.0.412354706]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl
new file mode 100644
index 0000000..1672b03
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: BusinessType
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl
new file mode 100644
index 0000000..e02a336
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: Customer
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl
new file mode 100644
index 0000000..66ae438
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: CustomerID
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl
new file mode 100644
index 0000000..05c5cf1
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: OrderID
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl
new file mode 100644
index 0000000..98649b2
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: ProductID
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl
new file mode 100644
index 0000000..b2012de
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: UnitOfMeasureName
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl
new file mode 100644
index 0000000..0edfadc
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: VerNo
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl
new file mode 100644
index 0000000..dfa4a28
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod CreateFillingCapacityOrder (
+  MacroPlan owner,
+  CustomerAndForecastOrder data
+)
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    owner.CustomerAndForecastOrder(relnew,OrderID := data.OrderID(),ProductID := data.ProductID(),BusinessType := data.BusinessType(),Customer := data.BusinessType(),CustomerID := data.CustomerID(),
+                                    Quantity := data.Quantity(),UnitOfMeasureName := data.UnitOfMeasureName(),PanelBigSheetQuantity := data.PanelBigSheetQuantity(),SalesAmount := data.SalesAmount(),
+                                    ForecastDemandDate := data.ForecastDemandDate(),DemandDate := data.DemandDate()
+                                    );
+  *]
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl
new file mode 100644
index 0000000..94354eb
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl
@@ -0,0 +1,21 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod CreateTestData (
+  MacroPlan owner
+)
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    stringdate := '20230901';
+    cnv2 := StringToDate::StandardConverter();
+    cnv2.SetCustomConversion();
+    cnv2.CustomFormatString( 'yyyyMMdd' );
+    date := cnv2.Convert( stringdate );
+    
+    owner.CustomerAndForecastOrder(relnew,OrderID := "001",ProductID := "001",BusinessType := "浜嬩笟涓�閮�",Customer := "瀹㈡埛",CustomerID := "001",
+                                    Quantity := 100,UnitOfMeasureName := "PCS",PanelBigSheetQuantity := 200,SalesAmount := 1000,ForecastDemandDate := date,DemandDate := date
+                                    );
+  *]
+}
diff --git a/_Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl b/_Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl
new file mode 100644
index 0000000..1239f5b
--- /dev/null
+++ b/_Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl
@@ -0,0 +1,9 @@
+Quintiq file version 2.0
+#root
+#parent: #DomainModel
+Type CustomerAndForecastOrder
+{
+  #keys: '5[414382.0.412354684][414382.0.412354682][0.0.0][414382.0.412354683][414382.0.412354685]'
+  BaseType: Object
+  StructuredName: 'CustomerAndForecastOrders'
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl
new file mode 100644
index 0000000..20f4d01
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute BusinessType
+{
+  #keys: '3[414382.0.394820097][414382.0.394820096][414382.0.394820098]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl
new file mode 100644
index 0000000..75ac73a
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Customer
+{
+  #keys: '3[414382.0.394820200][414382.0.394820199][414382.0.394820201]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl
new file mode 100644
index 0000000..1809787
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute CustomerID
+{
+  #keys: '3[414382.0.394820210][414382.0.394820209][414382.0.394820211]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl
new file mode 100644
index 0000000..b347899
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute DemandDate
+{
+  #keys: '3[414382.0.394820180][414382.0.394820179][414382.0.394820181]'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl
new file mode 100644
index 0000000..8bfc0f9
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ForecastDemandDate
+{
+  #keys: '3[414382.0.394820170][414382.0.394820169][414382.0.394820171]'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl
new file mode 100644
index 0000000..6f4e9b4
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderDate
+{
+  #keys: '3[414382.0.394815955][414382.0.394815954][414382.0.394815956]'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl
new file mode 100644
index 0000000..da22dcc
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderType
+{
+  #keys: '3[414382.0.394820190][414382.0.394820189][414382.0.394820191]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl
new file mode 100644
index 0000000..107f871
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute PanelBigSheetQuantity
+{
+  #keys: '3[414382.0.394820150][414382.0.394820149][414382.0.394820151]'
+  ValueType: Real
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl
new file mode 100644
index 0000000..e1d2f3e
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ProductID
+{
+  #keys: '3[414382.0.394820087][414382.0.394820086][414382.0.394820088]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl
new file mode 100644
index 0000000..335de16
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Quantity
+{
+  #keys: '3[414382.0.394820127][414382.0.394820126][414382.0.394820128]'
+  ValueType: Real
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl
new file mode 100644
index 0000000..246ad4b
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute SalesAmount
+{
+  #keys: '3[414382.0.394820160][414382.0.394820159][414382.0.394820161]'
+  ValueType: Number
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl
new file mode 100644
index 0000000..b51495f
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute SalesSegmentName
+{
+  #keys: '3[414382.0.394820107][414382.0.394820106][414382.0.394820108]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl
new file mode 100644
index 0000000..2e85dae
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute StockingPointID
+{
+  #keys: '3[414382.0.394820117][414382.0.394820116][414382.0.394820118]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl
new file mode 100644
index 0000000..fc5f64b
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute UnitOfMeasureName
+{
+  #keys: '3[414382.0.394820137][414382.0.394820136][414382.0.394820138]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl
new file mode 100644
index 0000000..be3aead
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute VerNo
+{
+  #keys: '3[414382.0.394820077][414382.0.394820076][414382.0.394820078]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl b/_Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl
new file mode 100644
index 0000000..4158fc2
--- /dev/null
+++ b/_Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl
@@ -0,0 +1,9 @@
+Quintiq file version 2.0
+#root
+#parent: #DomainModel
+Type FillingCapacityOrder
+{
+  #keys: '5[414382.0.394820060][414382.0.394820058][0.0.0][414382.0.394820059][414382.0.394820061]'
+  BaseType: Object
+  StructuredName: 'FillingCapacityOrders'
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl
new file mode 100644
index 0000000..c91ccf2
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute BusinessType
+{
+  #keys: '3[414382.0.385610070][414382.0.385610069][414382.0.385610071]'
+  Description: '浜嬩笟閮�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl
new file mode 100644
index 0000000..6e3ea82
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute CurrencyID
+{
+  #keys: '3[414382.0.385610058][414382.0.385610057][414382.0.385610059]'
+  Description: '璐у竵'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl
new file mode 100644
index 0000000..de33204
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Customer
+{
+  #keys: '3[414382.0.385610043][414382.0.385610042][414382.0.385610044]'
+  Description: '瀹㈡埛鍚嶇О'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl
new file mode 100644
index 0000000..5236115
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute CustomerID
+{
+  #keys: '3[414382.0.385610052][414382.0.385610051][414382.0.385610053]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl
new file mode 100644
index 0000000..ab18ec7
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ID
+{
+  #keys: '3[414382.0.385610061][414382.0.385610060][414382.0.385610062]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl
new file mode 100644
index 0000000..7b79b6c
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute IsAvailable
+{
+  #keys: '3[414382.0.385610046][414382.0.385610045][414382.0.385610047]'
+  Description: '璁㈠崟鏄惁鍙備笌璁″垝'
+  ValueType: Boolean
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl
new file mode 100644
index 0000000..c8eca1a
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderDate
+{
+  #keys: '3[414382.0.385610082][414382.0.385610081][414382.0.385610083]'
+  ValueType: Date
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl
new file mode 100644
index 0000000..993c964
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderID
+{
+  #keys: '3[414382.0.385610049][414382.0.385610048][414382.0.385610050]'
+  Description: '璁㈠崟鍙�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl
new file mode 100644
index 0000000..33b2a30
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderLineID
+{
+  #keys: '3[414382.0.385610040][414382.0.385610039][414382.0.385610041]'
+  Description: '璁㈠崟琛屽彿'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl
new file mode 100644
index 0000000..f539ba0
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute OrderType
+{
+  #keys: '3[414382.0.385610034][414382.0.385610033][414382.0.385610035]'
+  Description: '璁㈠崟绫诲瀷'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl
new file mode 100644
index 0000000..50d7084
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Price
+{
+  #keys: '3[414382.0.385610055][414382.0.385610054][414382.0.385610056]'
+  Description: '鍗曚环'
+  ValueType: Real
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl
new file mode 100644
index 0000000..38db16d
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute PriorityName
+{
+  #keys: '3[414382.0.385610079][414382.0.385610078][414382.0.385610080]'
+  Description: '浼樺厛绾�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl
new file mode 100644
index 0000000..018fc15
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ProductID
+{
+  #keys: '3[414382.0.385610067][414382.0.385610066][414382.0.385610068]'
+  Description: '浜у搧缂栫爜'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl
new file mode 100644
index 0000000..06b7d7d
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Quantity
+{
+  #keys: '3[414382.0.385610076][414382.0.385610075][414382.0.385610077]'
+  Description: '鏁伴噺'
+  ValueType: Real
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl
new file mode 100644
index 0000000..b5fe9ed
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute SalesAmount
+{
+  #keys: '3[414382.0.394810026][414382.0.394810025][414382.0.394810027]'
+  ValueType: Number
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl
new file mode 100644
index 0000000..5c59143
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute SalesSegmentName
+{
+  #keys: '3[414382.0.385610064][414382.0.385610063][414382.0.385610065]'
+  Description: '閿�鍞儴闂ㄥ悕绉�'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl
new file mode 100644
index 0000000..ae7cbb1
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute StockPointID
+{
+  #keys: '3[414382.0.385610073][414382.0.385610072][414382.0.385610074]'
+  Description: '搴撳瓨鐐瑰敮涓�鏍囪瘑'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl
new file mode 100644
index 0000000..d6b4ecf
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute UnitOfMeasureName
+{
+  #keys: '3[414382.0.385610037][414382.0.385610036][414382.0.385610038]'
+  Description: '鍗曚綅'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl
new file mode 100644
index 0000000..fdb397d
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute VerNo
+{
+  #keys: '3[414382.0.385610106][414382.0.385610105][414382.0.385610107]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl
new file mode 100644
index 0000000..1672b03
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: BusinessType
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl
new file mode 100644
index 0000000..cae9679
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: CurrencyID
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl
new file mode 100644
index 0000000..e02a336
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: Customer
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl
new file mode 100644
index 0000000..66ae438
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: CustomerID
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl
new file mode 100644
index 0000000..efaa00d
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  ISOValue: 'true'
+  TargetAttribute: IsAvailable
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl
new file mode 100644
index 0000000..05c5cf1
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: OrderID
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl
new file mode 100644
index 0000000..01ff2bf
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: OrderLineID
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl
new file mode 100644
index 0000000..36871b8
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: OrderType
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl
new file mode 100644
index 0000000..59ad087
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: PriorityName
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl
new file mode 100644
index 0000000..98649b2
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: ProductID
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl
new file mode 100644
index 0000000..521966d
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: SalesSegmentName
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl
new file mode 100644
index 0000000..7c0c612
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl
@@ -0,0 +1,6 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+  TargetAttribute: StockPointID
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl b/_Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl
new file mode 100644
index 0000000..25fd342
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl
@@ -0,0 +1,26 @@
+Quintiq file version 2.0
+#parent: #root
+Method GetProductIdString (
+  MacroPlan owner,
+  String businessType
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    productIDs := selectuniquevalues( owner,MappingProduct,product,
+                                      product.BusinessType() = businessType,
+                                      product.ID()
+                                      );
+    
+    value := "TC067FYMM05-00;B26700040";
+    
+    if( not isnull( productIDs) )
+    { 
+         value := productIDs.Concatenate( ";");
+    }
+    
+    return value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl
new file mode 100644
index 0000000..d7d5927
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl
@@ -0,0 +1,19 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetCustomerID (
+  MacroPlan owner,
+  String customer
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    
+    cunstomer :=  select( owner,MappingCustomerOrder,order,
+                         order.Customer() = customer
+                         );
+    
+    return cunstomer.CustomerID();
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl
new file mode 100644
index 0000000..c039119
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl
@@ -0,0 +1,28 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetCustomerString (
+  MacroPlan owner,
+  String businessType
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    customers := selectuniquevalues( owner,MappingCustomerOrder,order,
+                                      order.BusinessType() = businessType,
+                                      order.Customer()
+                                      );
+    
+    
+    
+    value := customers.Concatenate( ";");
+    
+    if( value = "" )
+    {
+      value := "灏忕背閫氳鎶�鏈湁闄愬叕鍙�";
+    }
+    
+    return value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl
new file mode 100644
index 0000000..2a8fe90
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl
@@ -0,0 +1,64 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetHistoricalSalesOrders (
+  String businessType,
+  String customer,
+  String sheetProfitability,
+  String productID,
+  Date end,
+  MacroPlan owner,
+  Date start
+) as owning HistoricalSalesOrders
+{
+  Description: 'Get historical sales orders of deleiveryCells'
+  TextBody:
+  [*
+    // NBoTk Sep-11-2023 (created)
+    
+    // filter businessType start end 
+    // start default 3 years, end is today
+    value := selectset( owner,HistoricalSalesOrder,order,
+                        true,
+                        order.BusinessType() = businessType
+                        and order.OrderDate() >= start
+                        and order.OrderDate() <= end
+                        );
+    
+    // filter customer
+    if(customer <> '' )
+    {
+        value := selectset( value,Elements,orer,
+                            true,
+                            orer.Customer() = customer
+                            );
+    }
+    
+    // filter sheetProfitability
+    //if(sheetProfitability <> '' )
+    //{
+    //    value := selectset( value,Elements,orer,
+    //                        true,
+    //                        orer.S() = sheetProfitability
+    //                        );
+    //}
+    
+    // filter productID
+    if(productID <> '' )
+    {
+        value := selectset( value,Elements,orer,
+                            true,
+                            orer.ProductID() = productID
+                            );
+    }
+    
+    // order by 鐩堝埄姘村钩 闇�姹傛椂闂�
+    
+    value := selectsortedset( value,Elements,order,
+                              true,
+                              //order.SheetProfitability(),
+                              order.OrderDate()
+                              );
+    
+    return &value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl
new file mode 100644
index 0000000..faa36c9
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl
@@ -0,0 +1,27 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetProductIdString (
+  MacroPlan owner,
+  String businessType
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    productIDs := selectuniquevalues( owner,MappingProduct,product,
+                                      product.BusinessType() = businessType,
+                                      product.ID()
+                                      );
+    
+    value := productIDs.Concatenate( ";");
+    
+    
+    if( value = "" )
+    {
+      value := "TC067FYMM05-00;B26700040";
+    }
+    
+    return value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl
new file mode 100644
index 0000000..e76aaec
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl
@@ -0,0 +1,28 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetSalesSegmentString (
+  MacroPlan owner,
+  String businessType
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    salesSegments := selectuniquevalues( owner,MappingSalesSegment,salesSegment,
+                                        salesSegment.BusinessType() = businessType,
+                                        salesSegment.ParentName()
+                                        );
+    
+    
+    
+    value := salesSegments.Concatenate( ";");
+    
+    
+    if( value = "" )
+    {
+      value := "娑堣垂鍝佽惀閿�涓績;閿�鍞竴绉�";
+    }
+    return value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl
new file mode 100644
index 0000000..d7ce897
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetStockingPointString (
+  MacroPlan owner,
+  String businessType
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    stockingPointIDs := selectuniquevalues( owner,StockingPoint_MP,stock,
+                                      stock.ID()
+                                      );
+    
+     value := stockingPointIDs.Concatenate( ";");
+    
+    if( value = "" )
+    {
+         value := "I13_P;I13_SA";
+    }
+    
+    return value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl
new file mode 100644
index 0000000..58570ab
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl
@@ -0,0 +1,26 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod GetUnitOfMeasuresString (
+  MacroPlan owner,
+  String businessType
+) as String
+{
+  TextBody:
+  [*
+    // NBoTk Sep-13-2023 (created)
+    
+    units := selectuniquevalues( owner,MappingUnitOfMeasure,unit,
+                                      unit.Name()
+                                      );
+    
+    
+    value := units.Concatenate( ";");
+    
+    if( value = "" )
+    {
+       value := "PCS;MPC";
+    }
+    
+    return value;
+  *]
+}
diff --git a/_Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl b/_Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl
new file mode 100644
index 0000000..3e9f0af
--- /dev/null
+++ b/_Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl
@@ -0,0 +1,9 @@
+Quintiq file version 2.0
+#root
+#parent: #DomainModel
+Type HistoricalSalesOrder
+{
+  #keys: '5[414382.0.385610030][414382.0.385610028][0.0.0][414382.0.385610029][414382.0.385610031]'
+  BaseType: Object
+  StructuredName: 'HistoricalSalesOrders'
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def
new file mode 100644
index 0000000..53808c5
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def
@@ -0,0 +1,40 @@
+Quintiq file version 2.0
+Component pnlActions
+{
+  #keys: '[414382.0.375080433]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component btnOk
+    {
+      #keys: '[414382.0.375080437]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'OK'
+        Taborder: 0
+      ]
+    }
+    Component btnCancel
+    {
+      #keys: '[414382.0.375080439]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Cancel'
+        Taborder: 1
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    Border: true
+    ExcludeFromActiveComponent: true
+    FixedSize: true
+    Orientation: 'horizontal'
+    Padding: 'true'
+    Style: 'footer'
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def
new file mode 100644
index 0000000..b6cdcbb
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+Component pnlContent
+{
+  #keys: '[414382.0.375080431]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component edtBusinessTypeName
+    {
+      #keys: '[414382.0.376790705]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderBusinessType.Data.BusinessTypeName'
+        Label: 'Business Type Name'
+        Taborder: 0
+      ]
+    }
+  ]
+  Properties:
+  [
+    Padding: 'true'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def
new file mode 100644
index 0000000..54a2fe2
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+#parent: #root
+Method ClickBtnOk () id:Method_DialogBusinessType_ClickBtnOk
+{
+  #keys: '[414382.0.377972914]'
+  Body:
+  [*
+    // Disabled button to prevent the possibility of multiple firing
+    
+    btnOk.Enabled(false,'');
+    
+    // OnOk
+    this.ApplyChanges();
+    
+    DataHolderBusinessType.Data().Commit();
+    
+    //if( not isnull( DataHolderForm.Data() ) )
+    //{
+    //  // Access the form, select the new assumption
+    //  DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() );
+    //}
+    
+    this.Close();
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def
new file mode 100644
index 0000000..25e0b31
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: #root
+Method Edit (
+  BusinessType selection
+) id:Method_DialogBusinessType_Edit
+{
+  #keys: '[414382.0.377851336]'
+  Body:
+  [*
+    // Edits assumption
+    data := shadow( selection );
+    
+    DataHolderBusinessType.Data( &data );
+    
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def
new file mode 100644
index 0000000..53d05de
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: #root
+Method New (
+  GlobalOTDTable owner
+) id:Method_DialogBusinessType_New
+{
+  #keys: '[414382.0.376712323]'
+  Body:
+  [*
+    data := owner.BusinessType(relshadow);
+    DataHolderBusinessType.Data( &data);
+    
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def
new file mode 100644
index 0000000..02f853a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnCancel
+Response OnClick () id:Response_pnlActions_btnCancel_OnClick
+{
+  #keys: '[414382.0.375080443]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.Close();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def
new file mode 100644
index 0000000..b0478e7
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnOk
+Response OnClick () id:Response_pnlActions_btnOk_OnClick
+{
+  #keys: '[414382.0.375080442]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.ClickBtnOk()
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def
new file mode 100644
index 0000000..c08a626
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def
@@ -0,0 +1,41 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent DialogBusinessType
+{
+  #keys: '[414382.0.375080429]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: pnlContent
+    #child: pnlActions
+    Component DataHolderBusinessType
+    {
+      #keys: '[414382.0.375080516]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'shadow[BusinessType]*'
+      Properties:
+      [
+        Taborder: 2
+      ]
+    }
+    Component DataHolderForm id:DataHolderForm_568
+    {
+      #keys: '[414382.0.376741089]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'BusinessType'
+      Properties:
+      [
+        Taborder: 3
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    EnterButton: 'btnOk'
+    EscapeButton: 'btnCancel'
+    ExcludeFromActiveComponent: true
+    Padding: 'false'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def
new file mode 100644
index 0000000..18c3540
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def
@@ -0,0 +1,40 @@
+Quintiq file version 2.0
+Component pnlActions
+{
+  #keys: '[414382.0.400131325]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component btnOk
+    {
+      #keys: '[414382.0.400131329]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'OK'
+        Taborder: 0
+      ]
+    }
+    Component btnCancel
+    {
+      #keys: '[414382.0.400131331]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Cancel'
+        Taborder: 1
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    Border: true
+    ExcludeFromActiveComponent: true
+    FixedSize: true
+    Orientation: 'horizontal'
+    Padding: 'true'
+    Style: 'footer'
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def
new file mode 100644
index 0000000..63e6384
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def
@@ -0,0 +1,125 @@
+Quintiq file version 2.0
+Component pnlContent
+{
+  #keys: '[414382.0.400131323]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component dropDownStringListProductID id:dropDownStringListProductID_387
+    {
+      #keys: '[414382.0.400311344]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.ProductID'
+        Label: 'ProductID'
+        Strings: 'productID'
+        Taborder: 0
+      ]
+    }
+    Component dropDownStringListSalesSegmentName id:dropDownStringListSalesSegmentName_325
+    {
+      #keys: '[414382.0.400731492]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesSegmentName'
+        Label: 'SalesSegmentName'
+        Strings: 'SalesSagmentName'
+        Taborder: 1
+      ]
+    }
+    Component dropDownStringListStockPointID id:dropDownStringListStockPointID_801
+    {
+      #keys: '[414382.0.400731675]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.StockingPointID'
+        Label: 'StockPointID'
+        Strings: 'StockPointID'
+        Taborder: 2
+      ]
+    }
+    Component dropDownStringListCustomer id:dropDownStringListCustomer_957
+    {
+      #keys: '[414382.0.400703550]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer'
+        Label: 'Customer'
+        Strings: 'Customer'
+        Taborder: 3
+      ]
+    }
+    Component edtQuantity id:edtQuantity_995
+    {
+      #keys: '[414382.0.400551344]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.Quantity'
+        Label: 'Quantity'
+        Mask: 'REAL'
+        Taborder: 4
+      ]
+    }
+    Component dropDownStringListUnitOfMeasureName id:dropDownStringListUnitOfMeasureName_750
+    {
+      #keys: '[414382.0.400892044]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.UnitOfMeasureName'
+        Label: 'UnitOfMeasureName'
+        Strings: 'UnitName'
+        Taborder: 5
+      ]
+    }
+    Component edtSalesAmount id:edtSalesAmount_608
+    {
+      #keys: '[414382.0.400892099]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesAmount'
+        Label: 'SalesAmount'
+        Mask: 'NUMBER'
+        Taborder: 6
+      ]
+    }
+    Component dsDemandDate
+    {
+      #keys: '[414382.0.400892150]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.DemandDate'
+        Label: 'Demand Date'
+        Taborder: 8
+      ]
+    }
+    Component dsForecastDemandDate
+    {
+      #keys: '[414382.0.408660329]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'DataHolderFillingCapacityOrder.Data.ForecastDemandDate'
+        Label: 'Forecast Demand Date'
+        Taborder: 7
+      ]
+    }
+  ]
+  Properties:
+  [
+    Padding: 'true'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def
new file mode 100644
index 0000000..c345b5c
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+#parent: #root
+Method ClickBtnOk () id:Method_DialogFillingCapacityOrder_ClickBtnOk
+{
+  #keys: '[414382.0.402531772]'
+  Body:
+  [*
+    // Disabled button to prevent the possibility of multiple firing
+    
+    btnOk.Enabled(false,'');
+    
+    // OnOk
+    this.ApplyChanges();
+    
+    DataHolderFillingCapacityOrder.Data().Commit();
+    
+    //if( not isnull( DataHolderForm.Data() ) )
+    //{
+    //  // Access the form, select the new assumption
+    //  DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() );
+    //}
+    
+    this.Close();
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def
new file mode 100644
index 0000000..2d5dc2d
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: #root
+Method Edit (
+  FillingCapacityOrder selection
+) id:Method_DialogFillingCapacityOrder_Edit
+{
+  #keys: '[414382.0.402531258]'
+  Body:
+  [*
+    // Edits assumption
+    data := shadow( selection );
+    
+    DataHolderFillingCapacityOrder.Data( &data );
+    
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def
new file mode 100644
index 0000000..cd0fc2c
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: #root
+Method New (
+  MacroPlan owner
+) id:Method_DialogFillingCapacityOrder_New
+{
+  #keys: '[414382.0.401211772]'
+  Body:
+  [*
+    
+    data := owner.FillingCapacityOrder(relshadow);
+    
+    DataHolderFillingCapacityOrder.Data(&data);
+    
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def
new file mode 100644
index 0000000..d18a682
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnCancel
+Response OnClick () id:Response_pnlActions_btnCancel_OnClick
+{
+  #keys: '[414382.0.400131335]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.Close();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def
new file mode 100644
index 0000000..87cbc8c
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnOk
+Response OnClick () id:Response_pnlActions_btnOk_OnClick
+{
+  #keys: '[414382.0.400131334]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.ClickBtnOk()
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def
new file mode 100644
index 0000000..3050a29
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def
@@ -0,0 +1,42 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent DialogFillingCapacityOrder
+{
+  #keys: '[414382.0.400131321]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: pnlContent
+    #child: pnlActions
+    Component DataHolderFillingCapacityOrder
+    {
+      #keys: '[414382.0.400311371]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'shadow[FillingCapacityOrder]*'
+      Properties:
+      [
+        Taborder: 2
+      ]
+    }
+    Component DataHolderForm id:DataHolderForm_450
+    {
+      #keys: '[414382.0.400311390]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'FillingCapacityOrder'
+      Properties:
+      [
+        Taborder: 3
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    EnterButton: 'btnOk'
+    EscapeButton: 'btnCancel'
+    ExcludeFromActiveComponent: true
+    Padding: 'false'
+    Title: 'Filling Capacity Order'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def
new file mode 100644
index 0000000..8a9f4fa
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def
@@ -0,0 +1,40 @@
+Quintiq file version 2.0
+Component pnlActions
+{
+  #keys: '[414382.0.415330994]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component btnOk
+    {
+      #keys: '[414382.0.415330998]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'OK'
+        Taborder: 0
+      ]
+    }
+    Component btnCancel
+    {
+      #keys: '[414382.0.415331000]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Cancel'
+        Taborder: 1
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    Border: true
+    ExcludeFromActiveComponent: true
+    FixedSize: true
+    Orientation: 'horizontal'
+    Padding: 'true'
+    Style: 'footer'
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def
new file mode 100644
index 0000000..99073e6
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def
@@ -0,0 +1,86 @@
+Quintiq file version 2.0
+Component pnlContent
+{
+  #keys: '[414382.0.415330992]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component efVerNo
+    {
+      #keys: '[414382.0.415451216]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFilling.Data.VerNo'
+        Label: 'VerNo'
+        Taborder: 0
+      ]
+    }
+    Component efBusinessType
+    {
+      #keys: '[414382.0.413702519]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFilling.Data.BusinessType'
+        Enabled: false
+        Label: 'BusinessType'
+        ReadOnly: true
+        Taborder: 1
+      ]
+    }
+    Component efCustomer
+    {
+      #keys: '[414382.0.415542596]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFilling.Data.Customer'
+        Enabled: false
+        Label: 'Customer'
+        ReadOnly: true
+        Taborder: 2
+      ]
+    }
+    Component edtSalesAmount
+    {
+      #keys: '[414382.0.414851317]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderFilling.Data.SalesAmount'
+        Label: 'SalesAmount'
+        Taborder: 3
+      ]
+    }
+    Component dsDemandDate id:dsDemandDate_768
+    {
+      #keys: '[414382.0.413703310]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'DataHolderFilling.Data.DemandDate'
+        Enabled: false
+        Label: 'Demand Date'
+        ReadOnly: true
+        Taborder: 4
+      ]
+    }
+    Component dsForecastDemandDate id:dsForecastDemandDate_515
+    {
+      #keys: '[414382.0.413703326]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'DataHolderFilling.Data.ForecastDemandDate'
+        Label: 'Forecast Demand Date'
+        Taborder: 5
+      ]
+    }
+  ]
+  Properties:
+  [
+    Padding: 'true'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def
new file mode 100644
index 0000000..e71781f
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+#parent: #root
+Method ClickBtnOk () id:Method_DialogFillingCustomerAndForecast_ClickBtnOk
+{
+  #keys: '[414382.0.415784532]'
+  Body:
+  [*
+    // Disabled button to prevent the possibility of multiple firing
+    
+    btnOk.Enabled(false,'');
+    
+    // OnOk
+    this.ApplyChanges();
+    
+    DataHolderFilling.Data().Commit();
+    
+    //if( not isnull( DataHolderForm.Data() ) )
+    //{
+    //  // Access the form, select the new assumption
+    //  DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() );
+    //}
+    
+    this.Close();
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def
new file mode 100644
index 0000000..81f41e9
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: #root
+Method Filling (
+  CustomerAndForecastOrder selection
+) id:Method_DialogFillingCustomerAndForecast_Filling
+{
+  #keys: '[414382.0.415572412]'
+  Body:
+  [*
+    data := shadow( selection );
+    
+    DataHolderFilling.Data( &data);
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def
new file mode 100644
index 0000000..405e6f4
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnCancel
+Response OnClick () id:Response_pnlActions_btnCancel_OnClick
+{
+  #keys: '[414382.0.415331004]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.Close();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def
new file mode 100644
index 0000000..9b30b93
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnOk
+Response OnClick () id:Response_pnlActions_btnOk_OnClick
+{
+  #keys: '[414382.0.415331003]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      data := DataHolderFilling.Data();
+      
+      CustomerAndForecastOrder::CreateFillingCapacityOrder( MacroPlan,data);
+      Form.Close();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def
new file mode 100644
index 0000000..fa9a6df
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def
@@ -0,0 +1,42 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent DialogFillingCustomerAndForecast
+{
+  #keys: '[414382.0.415330990]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: pnlContent
+    #child: pnlActions
+    Component DataHolderFilling
+    {
+      #keys: '[414382.0.415483316]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'shadow[CustomerAndForecastOrder]*'
+      Properties:
+      [
+        Taborder: 2
+      ]
+    }
+    Component DataHolderFillingCapacityOrder
+    {
+      #keys: '[414382.0.416323029]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'shadow[CustomerAndForecastOrder]*'
+      Properties:
+      [
+        Taborder: 3
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    EnterButton: 'btnOk'
+    EscapeButton: 'btnCancel'
+    ExcludeFromActiveComponent: true
+    Padding: 'false'
+    Title: 'Filling'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def
new file mode 100644
index 0000000..73be06b
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def
@@ -0,0 +1,40 @@
+Quintiq file version 2.0
+Component pnlActions
+{
+  #keys: '[414382.0.391970675]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component btnOk
+    {
+      #keys: '[414382.0.391970679]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'OK'
+        Taborder: 0
+      ]
+    }
+    Component btnCancel
+    {
+      #keys: '[414382.0.391970681]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Cancel'
+        Taborder: 1
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    Border: true
+    ExcludeFromActiveComponent: true
+    FixedSize: true
+    Orientation: 'horizontal'
+    Padding: 'true'
+    Style: 'footer'
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def
new file mode 100644
index 0000000..827d86f
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def
@@ -0,0 +1,109 @@
+Quintiq file version 2.0
+Component pnlContent
+{
+  #keys: '[414382.0.391970673]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component dropDownStringListProductID
+    {
+      #keys: '[414382.0.397670774]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.ProductID'
+        Label: 'ProductID'
+        Taborder: 0
+      ]
+    }
+    Component dropDownStringListSalesSegmentName
+    {
+      #keys: '[414382.0.397792089]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.SalesSegmentName'
+        Label: 'SalesSegmentName'
+        Taborder: 1
+      ]
+    }
+    Component dropDownStringListStockPointID
+    {
+      #keys: '[414382.0.397613350]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.StockingPointID'
+        Label: 'StockPointID'
+        Taborder: 2
+      ]
+    }
+    Component dropDownStringListCustomer
+    {
+      #keys: '[414382.0.396181827]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.Customer'
+        Label: 'Customer'
+        Taborder: 3
+      ]
+    }
+    Component dropDownStringListUnitOfMeasureName
+    {
+      #keys: '[414382.0.400160473]'
+      BaseType: 'WebDropDownStringList'
+      Properties:
+      [
+        AllowEmpty: true
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.UnitOfMeasureName'
+        Label: 'UnitOfMeasureName'
+        Taborder: 5
+      ]
+    }
+    Component edtQuantity
+    {
+      #keys: '[414382.0.400120730]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.Quantity'
+        Label: 'Quantity'
+        Mask: 'REAL'
+        Taborder: 4
+      ]
+    }
+    Component dsOrderDate
+    {
+      #keys: '[414382.0.400121793]'
+      BaseType: 'WebDateSelector'
+      Properties:
+      [
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.OrderDate'
+        Label: 'Demand Date'
+        Taborder: 7
+      ]
+    }
+    Component edtSalesAmount
+    {
+      #keys: '[414382.0.400160672]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        DataBinding: 'DataHolderHistoricalSalesOrder.Data.SalesAmount'
+        Label: 'SalesAmount'
+        Mask: 'NUMBER'
+        Taborder: 6
+      ]
+    }
+  ]
+  Properties:
+  [
+    Padding: 'true'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def
new file mode 100644
index 0000000..9472a57
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+#parent: #root
+Method ClickBtnOk () id:Method_DialogHistoricalSalesOrders_ClickBtnOk
+{
+  #keys: '[414382.0.400401230]'
+  Body:
+  [*
+    // Disabled button to prevent the possibility of multiple firing
+    
+    btnOk.Enabled(false,'');
+    
+    // OnOk
+    this.ApplyChanges();
+    
+    DataHolderHistoricalSalesOrder.Data().Commit();
+    
+    //if( not isnull( DataHolderForm.Data() ) )
+    //{
+    //  // Access the form, select the new assumption
+    //  DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() );
+    //}
+    
+    this.Close();
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def
new file mode 100644
index 0000000..8db2d4e
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#parent: #root
+Method Edit (
+  FillingCapacityOrder selection
+) id:Method_DialogHistoricalSalesOrders_Edit
+{
+  #keys: '[414382.0.402531395]'
+  Body:
+  [*
+    // Edits assumption
+    data := shadow( selection );
+    
+    DataHolderHistoricalSalesOrder.Data( &data);
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def
new file mode 100644
index 0000000..db4476b
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: #root
+Method New (
+  MacroPlan owner
+) id:Method_DialogHistoricalSalesOrders_New
+{
+  #keys: '[414382.0.393020968]'
+  Body:
+  [*
+    data := owner.FillingCapacityOrder(relshadow);
+    DataHolderHistoricalSalesOrder.Data( &data);
+    
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def
new file mode 100644
index 0000000..33de4f2
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnCancel
+Response OnClick () id:Response_pnlActions_btnCancel_OnClick
+{
+  #keys: '[414382.0.391970685]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.Close();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def
new file mode 100644
index 0000000..009143e
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActions/btnOk
+Response OnClick () id:Response_pnlActions_btnOk_OnClick
+{
+  #keys: '[414382.0.391970684]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.ClickBtnOk()
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def
new file mode 100644
index 0000000..6ec8904
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def
@@ -0,0 +1,42 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent DialogHistoricalSalesOrders
+{
+  #keys: '[414382.0.391970671]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: pnlContent
+    #child: pnlActions
+    Component DataHolderHistoricalSalesOrder
+    {
+      #keys: '[414382.0.394331150]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'shadow[FillingCapacityOrder]*'
+      Properties:
+      [
+        Taborder: 2
+      ]
+    }
+    Component DataHolderForm
+    {
+      #keys: '[414382.0.394362557]'
+      BaseType: 'WebDataHolder'
+      Databinding: 'FillingCapacityOrder'
+      Properties:
+      [
+        Taborder: 3
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    EnterButton: 'btnOk'
+    EscapeButton: 'btnCancel'
+    ExcludeFromActiveComponent: true
+    Padding: 'false'
+    Title: 'Historical Sales Order'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def
new file mode 100644
index 0000000..b0713d9
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def
@@ -0,0 +1,59 @@
+Quintiq file version 2.0
+Component ListBusinessType
+{
+  #keys: '[414382.0.373071310]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component DataExtractorBusinessType
+    {
+      #keys: '[414382.0.373071311]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'GlobalOTDTable'
+        Source: 'GlobalOTDTable'
+        Taborder: 0
+        Transformation: 'BusinessType'
+      ]
+    }
+    #child: listActionBarPageBusinessType
+    Component DataSetLevelBusinessType
+    {
+      #keys: '[414382.0.373071313]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: listContextMenuBusinessType655
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessTypeName","title":"BusinessTypeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessTypeName"}}]'
+        ContextMenu: 'listContextMenuBusinessType655'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+  ResponseDefinitions:
+  [
+    DelegatedResponseDefinition OnClick id:Responsedef_ListBusinessType_WebMenu_OnClick
+    {
+      #keys: '[414382.0.377975283]'
+      Initiator: 'WebMenu'
+      IsInherited: false
+      ResponseType: 'OnClick'
+      Arguments:
+      [
+        ResponseDefinitionArgument selection
+        {
+          #keys: '[1051.0.24454044]'
+          Binding: 'this.Selection()'
+        }
+      ]
+    }
+  ]
+}
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType\043675.def" "b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType\043675.def"
new file mode 100644
index 0000000..f8612f8
--- /dev/null
+++ "b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType\043675.def"
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listActionBarPageBusinessType
+{
+  #keys: '[414382.0.373071312]'
+  BaseType: 'listActionBarPage'
+  Properties:
+  [
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def
new file mode 100644
index 0000000..30edf41
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def
@@ -0,0 +1,46 @@
+Quintiq file version 2.0
+Component listContextMenuBusinessType655
+{
+  #keys: '[414382.0.373071314]'
+  BaseType: 'listContextMenu'
+  Children:
+  [
+    Component MenuNew
+    {
+      #keys: '[414382.0.374151049]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'ADD2'
+        Taborder: 3
+        Title: 'New'
+      ]
+    }
+    Component MenuEdit
+    {
+      #keys: '[414382.0.373031364]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'PENCIL'
+        Taborder: 4
+        Title: 'Edit'
+      ]
+    }
+    Component MenuDelete
+    {
+      #keys: '[414382.0.374361100]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'DELETE'
+        Taborder: 5
+        Title: 'Delete'
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def
new file mode 100644
index 0000000..c5aa30a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def
@@ -0,0 +1,19 @@
+Quintiq file version 2.0
+#parent: ListBusinessType
+Response OnClick (
+  BusinessType selection
+) id:Response_ListBusinessType_MenuDelete_OnClick
+{
+  #keys: '[414382.0.378330518]'
+  CanBindMultiple: false
+  DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuDelete'
+  QuillAction
+  {
+    Body:
+    [*
+      selection.Delete();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def
new file mode 100644
index 0000000..aaecca8
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: ListBusinessType
+Response OnClick (
+  BusinessType selection
+) id:Response_ListBusinessType_MenuEdit_OnClick
+{
+  #keys: '[414382.0.378121511]'
+  CanBindMultiple: false
+  DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuEdit'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogBusinessType );
+      dlg.Edit(  selection );
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def
new file mode 100644
index 0000000..f81f38b
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#parent: ListBusinessType
+Response OnClick () id:Response_ListBusinessType_MenuNew_OnClick
+{
+  #keys: '[414382.0.377975353]'
+  CanBindMultiple: false
+  DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuNew'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogBusinessType );
+      dlg.New( GlobalOTDTable );
+    *]
+  }
+}
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType\043367.def" "b/_Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType\043367.def"
new file mode 100644
index 0000000..e23342a
--- /dev/null
+++ "b/_Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType\043367.def"
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent FormBusinessType
+{
+  #keys: '[414382.0.367630242]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: ListBusinessType
+  ]
+  Properties:
+  [
+    Title: 'Business Type'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def
new file mode 100644
index 0000000..0f7e550
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def
@@ -0,0 +1,59 @@
+Quintiq file version 2.0
+Component ListFillingCapacityOrder
+{
+  #keys: '[414382.0.397311976]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component DataExtractorFillingCapacityOrder
+    {
+      #keys: '[414382.0.397311977]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'MacroPlan'
+        Source: 'MacroPlan'
+        Taborder: 0
+        Transformation: 'FillingCapacityOrder'
+      ]
+    }
+    #child: listActionBarPageFillingCapacityOrder
+    Component DataSetLevelFillingCapacityOrder
+    {
+      #keys: '[414382.0.397311982]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: listContextMenuFillingCapacityOrder
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"PanelBigSheetQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"OrderType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]'
+        ContextMenu: 'listContextMenuFillingCapacityOrder'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+  ResponseDefinitions:
+  [
+    DelegatedResponseDefinition OnClick id:Responsedef_ListFillingCapacityOrder_WebMenu_OnClick
+    {
+      #keys: '[414382.0.401230580]'
+      Initiator: 'WebMenu'
+      IsInherited: false
+      ResponseType: 'OnClick'
+      Arguments:
+      [
+        ResponseDefinitionArgument selection
+        {
+          #keys: '[1099.0.7418521]'
+          Binding: 'this.Selection()'
+        }
+      ]
+    }
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def
new file mode 100644
index 0000000..ec644c5
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listActionBarPageFillingCapacityOrder
+{
+  #keys: '[414382.0.397311979]'
+  BaseType: 'listActionBarPage'
+  Properties:
+  [
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def
new file mode 100644
index 0000000..42e181a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def
@@ -0,0 +1,57 @@
+Quintiq file version 2.0
+Component listContextMenuFillingCapacityOrder
+{
+  #keys: '[414382.0.397311984]'
+  BaseType: 'listContextMenu'
+  Children:
+  [
+    Component MenuNew
+    {
+      #keys: '[414382.0.401230548]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'ADD2'
+        Taborder: 3
+        Title: 'New'
+      ]
+    }
+    Component MenuEdit id:MenuEdit_100
+    {
+      #keys: '[414382.0.402500725]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'PENCIL'
+        Taborder: 4
+        Title: 'Edit'
+      ]
+    }
+    Component MenuDelete id:MenuDelete_129
+    {
+      #keys: '[414382.0.402500768]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'DELETE'
+        Taborder: 5
+        Title: 'Delete'
+      ]
+    }
+    Component MenuSaveScheme
+    {
+      #keys: '[414382.0.409871758]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'DISK_BLUE'
+        Taborder: 6
+        Title: 'Save Scheme'
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def
new file mode 100644
index 0000000..243c7c1
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def
@@ -0,0 +1,19 @@
+Quintiq file version 2.0
+#parent: ListFillingCapacityOrder
+Response OnClick (
+  FillingCapacityOrder selection
+) id:Response_ListFillingCapacityOrder_MenuDelete_OnClick
+{
+  #keys: '[414382.0.402561135]'
+  CanBindMultiple: false
+  DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuDelete'
+  QuillAction
+  {
+    Body:
+    [*
+      selection.Delete();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def
new file mode 100644
index 0000000..de377cf
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: ListFillingCapacityOrder
+Response OnClick (
+  FillingCapacityOrder selection
+) id:Response_ListFillingCapacityOrder_MenuEdit_OnClick
+{
+  #keys: '[414382.0.404212572]'
+  CanBindMultiple: false
+  DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuEdit'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogFillingCapacityOrder );;
+      dlg.Edit( selection);
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def
new file mode 100644
index 0000000..1d6970c
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#parent: ListFillingCapacityOrder
+Response OnClick () id:Response_ListFillingCapacityOrder_MenuNew_OnClick
+{
+  #keys: '[414382.0.402410520]'
+  CanBindMultiple: false
+  DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuNew'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogFillingCapacityOrder );
+      dlg.New( MacroPlan);
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def
new file mode 100644
index 0000000..23c2bed
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def
@@ -0,0 +1,19 @@
+Quintiq file version 2.0
+#parent: ListFillingCapacityOrder
+Response OnClick () id:Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick
+{
+  #keys: '[414382.0.410851847]'
+  CanBindMultiple: false
+  DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuSaveScheme'
+  QuillAction
+  {
+    Body:
+    [*
+      form := construct( FormCustomerAndForecastOrder );
+      form.OpenScheme();
+      //dlg.Edit( selection);
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def
new file mode 100644
index 0000000..ebf5356
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent FormFillingCapacityOrder
+{
+  #keys: '[414382.0.396111858]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: ListFillingCapacityOrder
+  ]
+  Properties:
+  [
+    Title: 'Filling Capacity Orders'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def
new file mode 100644
index 0000000..f0f2e59
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def
@@ -0,0 +1,59 @@
+Quintiq file version 2.0
+Component ListCustomerAndFillingCapacityOrder
+{
+  #keys: '[414382.0.413740609]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component DataExtractorCustomerAndFillingCapacityOrder
+    {
+      #keys: '[414382.0.413740610]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'MacroPlan'
+        Source: 'MacroPlan'
+        Taborder: 0
+        Transformation: 'CustomerAndForecastOrder'
+      ]
+    }
+    #child: listActionBarPageCustomerAndFillingCapacityOrder
+    Component DataSetLevelCustomerAndFillingCapacityOrder
+    {
+      #keys: '[414382.0.413740615]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: listContextMenuCustomerAndFillingCapacityOrder
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ServiceType","title":"ServiceType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ServiceType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"PanelBigSheetQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}}]'
+        ContextMenu: 'listContextMenuCustomerAndFillingCapacityOrder'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+  ResponseDefinitions:
+  [
+    DelegatedResponseDefinition OnClick id:Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick
+    {
+      #keys: '[414382.0.415541555]'
+      Initiator: 'WebMenu'
+      IsInherited: false
+      ResponseType: 'OnClick'
+      Arguments:
+      [
+        ResponseDefinitionArgument selection
+        {
+          #keys: '[1121.0.30421200]'
+          Binding: 'this.Selection()'
+        }
+      ]
+    }
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def
new file mode 100644
index 0000000..ac6bc73
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listActionBarPageCustomerAndFillingCapacityOrder
+{
+  #keys: '[414382.0.413740612]'
+  BaseType: 'listActionBarPage'
+  Properties:
+  [
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def
new file mode 100644
index 0000000..01848c5
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def
@@ -0,0 +1,35 @@
+Quintiq file version 2.0
+Component listContextMenuCustomerAndFillingCapacityOrder
+{
+  #keys: '[414382.0.413740617]'
+  BaseType: 'listContextMenu'
+  Children:
+  [
+    Component MenuFilling
+    {
+      #keys: '[414382.0.414941796]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'ADD2'
+        Taborder: 3
+        Title: 'Filling'
+      ]
+    }
+    Component MenuTest
+    {
+      #keys: '[414382.0.415603149]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'ADD2'
+        Taborder: 4
+        Title: 'Test'
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def
new file mode 100644
index 0000000..152a2c0
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+#parent: #root
+Method OpenScheme () id:Method_FormCustomerAndForecastOrder_OpenScheme
+{
+  #keys: '[414382.0.410362701]'
+  Body:
+  [*
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def
new file mode 100644
index 0000000..ec8076c
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: ListCustomerAndFillingCapacityOrder
+Response OnClick (
+  CustomerAndForecastOrder selection
+) id:Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick
+{
+  #keys: '[414382.0.415301299]'
+  CanBindMultiple: false
+  DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuFilling'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogFillingCustomerAndForecast );
+      dlg.Filling( selection);
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def
new file mode 100644
index 0000000..f292299
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: ListCustomerAndFillingCapacityOrder
+Response OnClick () id:Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick
+{
+  #keys: '[414382.0.415724061]'
+  CanBindMultiple: false
+  DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuTest'
+  QuillAction
+  {
+    Body:
+    [*
+      CustomerAndForecastOrder::CreateTestData( MacroPlan);
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def
new file mode 100644
index 0000000..7a7dea3
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent FormCustomerAndForecastOrder
+{
+  #keys: '[414382.0.410884055]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: ListCustomerAndFillingCapacityOrder
+  ]
+  Properties:
+  [
+    Title: 'Customer And Forecast Order'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def
new file mode 100644
index 0000000..9abf0cb
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def
@@ -0,0 +1,59 @@
+Quintiq file version 2.0
+Component ListHistoricalSalesOrders
+{
+  #keys: '[414382.0.388210753]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component DataExtractorHistoricalSalesOrders
+    {
+      #keys: '[414382.0.388210754]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'MacroPlan'
+        Source: 'MacroPlan'
+        Taborder: 0
+        Transformation: 'HistoricalSalesOrder'
+      ]
+    }
+    #child: listActionBarPageHistoricalSalesOrders
+    Component DataSetLevelHistoricalSalesOrders
+    {
+      #keys: '[414382.0.388210759]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: listContextMenuHistoricalSalesOrders
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"OrderDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}}]'
+        ContextMenu: 'listContextMenuHistoricalSalesOrders'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+  ResponseDefinitions:
+  [
+    DelegatedResponseDefinition OnClick id:Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick
+    {
+      #keys: '[414382.0.394390402]'
+      Initiator: 'WebMenu'
+      IsInherited: false
+      ResponseType: 'OnClick'
+      Arguments:
+      [
+        ResponseDefinitionArgument selection
+        {
+          #keys: '[1083.0.17043214]'
+          Binding: 'this.Selection()'
+        }
+      ]
+    }
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def
new file mode 100644
index 0000000..8597dfe
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listActionBarPageHistoricalSalesOrders
+{
+  #keys: '[414382.0.388210756]'
+  BaseType: 'listActionBarPage'
+  Properties:
+  [
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def
new file mode 100644
index 0000000..08bafce
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def
@@ -0,0 +1,46 @@
+Quintiq file version 2.0
+Component listContextMenuHistoricalSalesOrders
+{
+  #keys: '[414382.0.388210761]'
+  BaseType: 'listContextMenu'
+  Children:
+  [
+    Component MenuNew id:MenuNew_603
+    {
+      #keys: '[414382.0.394390227]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'ADD2'
+        Taborder: 3
+        Title: 'New'
+      ]
+    }
+    Component MenuEdit id:MenuEdit_847
+    {
+      #keys: '[414382.0.394390242]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'PENCIL'
+        Taborder: 4
+        Title: 'Edit'
+      ]
+    }
+    Component MenuDelete id:MenuDelete_646
+    {
+      #keys: '[414382.0.394390257]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'DELETE'
+        Taborder: 5
+        Title: 'Delete'
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def
new file mode 100644
index 0000000..c59123e
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def
@@ -0,0 +1,19 @@
+Quintiq file version 2.0
+#parent: ListHistoricalSalesOrders
+Response OnClick (
+  HistoricalSalesOrder selection
+) id:Response_ListHistoricalSalesOrders_MenuDelete_OnClick
+{
+  #keys: '[414382.0.402500799]'
+  CanBindMultiple: false
+  DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuDelete'
+  QuillAction
+  {
+    Body:
+    [*
+      selection.Delete();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def
new file mode 100644
index 0000000..6ad44a8
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: ListHistoricalSalesOrders
+Response OnClick (
+  FillingCapacityOrder selection
+) id:Response_ListHistoricalSalesOrders_MenuEdit_OnClick
+{
+  #keys: '[414382.0.402531567]'
+  CanBindMultiple: false
+  DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick
+  GroupServerCalls: true
+  Initiator: 'MenuEdit'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogHistoricalSalesOrders );
+      dlg.Edit(  selection );
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def
new file mode 100644
index 0000000..d151663
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def
@@ -0,0 +1,26 @@
+Quintiq file version 2.0
+#parent: ListHistoricalSalesOrders
+Response OnClick () id:Response_ListHistoricalSalesOrders_MenuNew_OnClick
+{
+  #keys: '[414382.0.394390488]'
+  CanBindMultiple: false
+  DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick
+  Initiator: 'MenuNew'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogHistoricalSalesOrders );
+      
+      dlg.dropDownStringListProductID().Strings(  HistoricalSalesOrder::GetProductIdString(  MacroPlan,"") );
+      info( HistoricalSalesOrder::GetProductIdString(  MacroPlan,"") );
+      dlg.dropDownStringListCustomer().Strings( HistoricalSalesOrder::GetCustomerString( MacroPlan,""));
+      dlg.dropDownStringListSalesSegmentName().Strings( HistoricalSalesOrder::GetSalesSegmentString(  MacroPlan,""));
+      dlg.dropDownStringListStockPointID().Strings( HistoricalSalesOrder::GetStockingPointString(  MacroPlan,""));
+      dlg.dropDownStringListUnitOfMeasureName().Strings( HistoricalSalesOrder::GetUnitOfMeasuresString(   MacroPlan,""));
+      
+      dlg.New( MacroPlan );
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def
new file mode 100644
index 0000000..0b63738
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent FormHistoricalSalesOrders
+{
+  #keys: '[414382.0.386940324]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: ListHistoricalSalesOrders
+  ]
+  Properties:
+  [
+    Title: 'Historical Sales Orders'
+  ]
+}
diff --git a/_var/_Main/ModelSettings/Common/Development/_ROOT_Role_Development.properties b/_var/_Main/ModelSettings/Common/Development/_ROOT_Role_Development.properties
index 5ecdbaf..2463c24 100644
--- a/_var/_Main/ModelSettings/Common/Development/_ROOT_Role_Development.properties
+++ b/_var/_Main/ModelSettings/Common/Development/_ROOT_Role_Development.properties
@@ -213,8 +213,8 @@
 domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.connection=dbodbc1
 domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.maxcolumnnamelength=0
 domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.maxtablenamelength=0
-domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.parameters=/datasource=otd /owner=OTD /chardatatypeforstring /characterencoding=UTF-8 /appdatatypeforstring=wchar
-domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.password=1 A205E2668CFBD9365E030C36BB0A4297 730524bf-f9c9-426f-94a0-953687be1178
+domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.parameters=/datasource=tzinfo2 /owner=YUXTEST/chardatatypeforstring /characterencoding=UTF-8 /appdatatypeforstring=wchar
+domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.password=1 A0433953E05B9AAC375D151F13BB92C8 367057c5-12bf-424c-a6cf-a24ca4090210
 domainmodel.ediremotedatasourcedefinition.remotestorage.outputcampaignsfrommodel=template:domainmodel.ediremotedatasourcedefinition
 domainmodel.ediremotedatasourcedefinition.remotestorage.outputcampaignsfrommodel.connection=
 domainmodel.ediremotedatasourcedefinition.remotestorage.outputcampaignsfrommodel.parameters=

--
Gitblit v1.9.3