_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl
@@ -2,13 +2,16 @@ #parent: #root StaticMethod GenerateForecast ( ArchiveExecutionStatus archiveExecutionStatus, MacroPlan macroPlan MacroPlan macroPlan, Boolean isClearForecast ) { TextBody: [* traverse ( macroPlan, SalesDemand.astype( Forecast ), f ) { f.Delete(); if( isClearForecast ){ traverse ( macroPlan, SalesDemand.astype( Forecast ), f ) { f.Delete(); } } productMPs := selectset( macroPlan,Product_MP,prod,not prod.IsSystem() );