From 52dcdb3e76ddf02bd11b24bc2883fa04d0b58aa7 Mon Sep 17 00:00:00 2001 From: admin <admin@admin.com> Date: 星期二, 20 八月 2024 17:20:30 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl | 2 +- _Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon504_ButtonRibbon820_OnClick.def | 2 +- _Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl b/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl index 4f22293..a24173c 100644 --- a/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl +++ b/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl @@ -11,7 +11,7 @@ f.Delete(); } - traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ) { + traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ,tdd.StartDate() >= macroPlan.StartOfPlanning().Date()) { targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = tdd.ProductID() ); targetStockingPoint_MP := select( macroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = tdd.StockingPointID() ); info( tdd.SalesSegmentName() ); @@ -29,8 +29,7 @@ tdd.UnitOfMeasureName(), 0.0, false, - false - ); + false ); forcest.Origin( tdd.Origin() ); } } diff --git a/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl b/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl index 0990048..bead82a 100644 --- a/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl +++ b/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl @@ -41,7 +41,7 @@ if( not isnull( columnIndex )){ // 褰揳rrowedAvailableCapacity涓嶄负0锛屽伐浣滄棩 + 1 arrowedAvailableCapacity := unitPeriodTime.TotalAvailableCapacity(); - zeroDuration := Duration::Construct( 0,0,0,0); + zeroDuration := Duration::Construct( 0,0,0,0 ); column := columns.Element( columnIndex.GetValueAsNumber() ); diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon504_ButtonRibbon820_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon504_ButtonRibbon820_OnClick.def index 7b630bf..9d82f9b 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon504_ButtonRibbon820_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon504_ButtonRibbon820_OnClick.def @@ -10,7 +10,7 @@ Body: [* macroPlans := ApplicationMacroPlanner.GetMacroPlans(); - table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive); + table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive, MacroPlan ); dhComparisonData854.Data( table ); *] -- Gitblit v1.9.3