From bcd7eb876bff759f6aef96f1014b0bca7a3322ff Mon Sep 17 00:00:00 2001 From: rislai <risheng.lai@capgemini.com> Date: 星期五, 16 八月 2024 15:53:14 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_EnginePipelineRow/Method_SetCellDemandValue.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_EnginePipelineRow/Method_SetCellDemandValue.qbl b/_Main/BL/Type_EnginePipelineRow/Method_SetCellDemandValue.qbl index b1ce10b..ab43596 100644 --- a/_Main/BL/Type_EnginePipelineRow/Method_SetCellDemandValue.qbl +++ b/_Main/BL/Type_EnginePipelineRow/Method_SetCellDemandValue.qbl @@ -11,10 +11,10 @@ // 鐢勫叞楦� Jun-24-2024 (created) cell := selectobject( this, Cell, cell, cell.Column() = column ); - demand := selectobject( cell, Demand, demand, demand.EngineType() = cell.Row().Name() and demand.Model() = segment and demand.Period() = column.Period() ); + demand := selectobject( cell, Demand, demand, demand.EngineType() = cell.Row().Name() and demand.Model() = segment and demand.Period() = column.StartDate() ); if( isnull( demand ) ){ - demand := cell.Demand( relnew, EngineType := cell.Row().Name(), Period := column.Period(), Model := segment, Quantity := 0 ); + demand := cell.Demand( relnew, EngineType := cell.Row().Name(), Period := column.StartDate(), Model := segment, Quantity := 0 ); } demand.Quantity( demand.Quantity() + quantity ); -- Gitblit v1.9.3