From 6e0dffe52969c1cbf2b96dd5738f205cee3034ef Mon Sep 17 00:00:00 2001
From: yanyuan <yuan.yan@capgemini.com>
Date: 星期四, 09 十一月 2023 17:36:02 +0800
Subject: [PATCH] Fix Quantity of production plan to int
---
_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_ListNewSupply.def | 14 +++++++
_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/_ROOT_Component_FormProductionPlanDetails.def | 10 +++++
_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupply.def | 8 ++++
_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupplyList.def | 8 ++++
_Main/UI/MacroPlannerWebApp/Views/Production_plan.vw | 63 +++++++++++++++++++++++++++++++
_var/_Main/ProjSettings/MacroPlanner/Repr/MacroPlanner/Real.qrp | 14 +++++++
6 files changed, 117 insertions(+), 0 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_ListNewSupply.def b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_ListNewSupply.def
new file mode 100644
index 0000000..65cd035
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_ListNewSupply.def
@@ -0,0 +1,14 @@
+Quintiq file version 2.0
+Component ListNewSupply #extension
+{
+ Children:
+ [
+ Component DataSetLevelNewSupply #extension
+ {
+ Properties:
+ [
+ Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeriodTask_MP.astype(PeriodTaskOperation).ImgHasFeedback","title":"ImgHasFeedback","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"PeriodTask_MP.astype(PeriodTaskOperation).ImgHasFeedback"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductInStockingPointInPeriodPlanningLeaf.StockingPointInPeriod.StockingPoint_MP.Name","title":"StockingPoint","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductInStockingPointInPeriodPlanningLeaf.StockingPointInPeriod.StockingPoint_MP.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductInStockingPointInPeriodPlanningLeaf.ProductInStockingPoint_MP.Product_MP.Name","title":"Product","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductInStockingPointInPeriodPlanningLeaf.ProductInStockingPoint_MP.Product_MP.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeriodTask_MP.UnitPeriod.Unit.Name","title":"Unit","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PeriodTask_MP.UnitPeriod.Unit.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeriodTask_MP.astype(PeriodTaskOperation).Operation.RoutingStep.Routing.Name","title":"Routing","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PeriodTask_MP.astype(PeriodTaskOperation).Operation.RoutingStep.Routing.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeriodTask_MP.astype(PeriodTaskOperation).Operation.RoutingStep.Name","title":"Step","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"PeriodTask_MP.astype(PeriodTaskOperation).Operation.RoutingStep.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeriodTask_MP.astype(PeriodTaskOperation).Operation.Name","title":"Operation","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"PeriodTask_MP.astype(PeriodTaskOperation).Operation.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeriodTask_MP.Start","title":"Start","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"PeriodTask_MP.Start"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Process_MP.AsProcess_MP.UnitOfMeasure_MP.Name","title":"UoM","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Process_MP.AsProcess_MP.UnitOfMeasure_MP.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeExpression","columnid":"IntQuantity","title":"IntQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","expressionbody":"object.Quantity()"}}]'
+ ]
+ }
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupply.def b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupply.def
new file mode 100644
index 0000000..d800cdf
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupply.def
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+Component PanelNewSupply #extension
+{
+ Children:
+ [
+ #child: PanelNewSupplyList
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupplyList.def b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupplyList.def
new file mode 100644
index 0000000..47e14df
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/Component_PanelNewSupplyList.def
@@ -0,0 +1,8 @@
+Quintiq file version 2.0
+Component PanelNewSupplyList #extension
+{
+ Children:
+ [
+ #child: ListNewSupply
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/_ROOT_Component_FormProductionPlanDetails.def b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/_ROOT_Component_FormProductionPlanDetails.def
new file mode 100644
index 0000000..7f7ed3c
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormProductionPlanDetails/_ROOT_Component_FormProductionPlanDetails.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+#root
+#parent: LibMacroPlannerWebUI
+OrphanComponent FormProductionPlanDetails #extension
+{
+ Children:
+ [
+ #child: PanelNewSupply
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Views/Production_plan.vw b/_Main/UI/MacroPlannerWebApp/Views/Production_plan.vw
new file mode 100644
index 0000000..2f6112a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Views/Production_plan.vw
@@ -0,0 +1,63 @@
+Quintiq file version 2.0
+{
+ viewcontents
+ {
+ forms
+ {
+ form_FormKPI
+ {
+ components
+ {
+ FormKPI_DataSetLevelKPISelection
+ {
+ column_Name
+ {
+ title: '鍚嶇О'
+ }
+ }
+ FormKPI_ListKPISelection
+ {
+ QuillViewData
+ {
+ Empty_KPISetting: 'Cost of sales;Fulfillment;Inventory holding cost;Labor cost;Margin;Sales;Sourcing cost;Total CO2 emission;Transportation cost'
+ }
+ }
+ }
+ }
+ form_FormProductionPlanDetails
+ {
+ components
+ {
+ FormProductionPlanDetails_DataSetLevelNewSupply
+ {
+ column_Quantity
+ {
+ _removed: true
+ }
+ column_IntQuantity
+ {
+ columnId: 'IntQuantity'
+ dataPath: 'IntQuantity'
+ dataType: 'real'
+ title: '鏁伴噺'
+ index: 10
+ subtotals: ''
+ width: 150
+ }
+ column_PeriodTask_MP_astype_PeriodTaskOperation__Operation_RoutingStep_Name
+ {
+ width: 136
+ }
+ sort: 'DESC:IntQuantity'
+ }
+ }
+ }
+ }
+ index: 0
+ }
+ formatversion: 2
+ id: 'Production_plan'
+ name: 'Production plan'
+ isglobal: false
+ isroot: false
+}
diff --git a/_var/_Main/ProjSettings/MacroPlanner/Repr/MacroPlanner/Real.qrp b/_var/_Main/ProjSettings/MacroPlanner/Repr/MacroPlanner/Real.qrp
new file mode 100644
index 0000000..2b5137e
--- /dev/null
+++ b/_var/_Main/ProjSettings/MacroPlanner/Repr/MacroPlanner/Real.qrp
@@ -0,0 +1,14 @@
+Quintiq file version 2.0
+#parent: #root
+TypeRepresentation Real
+{
+ HasDefaultDataRepresentation: true
+ Conditional:
+ [
+ ]
+ DataRepresentation.Default
+ {
+ FormatString: 'N(Dec(3))'
+ InheritFormatting: false
+ }
+}
--
Gitblit v1.9.3