administrator
2024-07-16 86762e6696b38e9ac9dc03d2cee5044592623f5e
_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl
@@ -16,7 +16,7 @@
      targetStockingPoint_MP := select( macroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = tdd.StockingPointID() );
      info( tdd.SalesSegmentName() );
      if ( not isnull( targetProduct_MP ) and not isnull( targetStockingPoint_MP ) ) {
        Forecast::Create( targetProduct_MP,
        forcest := Forecast::Create( targetProduct_MP,
                          targetStockingPoint_MP,
                          [String]tdd.ID(),
                          tdd.StartDate(),
@@ -31,6 +31,7 @@
                          false,
                          false
                         );
        forcest.Origin( tdd.Origin() );
      }
    }
  *]