From 53766fff74696ed21adb9807f41398ba55a2a7df Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期四, 05 九月 2024 17:29:49 +0800 Subject: [PATCH] 添加班次计划及班次详情下发 --- _Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl b/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl index a363c8e..fbb1602 100644 --- a/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl +++ b/_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl @@ -12,7 +12,8 @@ } traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ,tdd.Origin() = "" or tdd.StartDate() >= macroPlan.StartOfPlanning().Date()) { - targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = tdd.ProductID() ); + targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.Notes() = tdd.ProductID() ); + // 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() ); if ( not isnull( targetProduct_MP ) and not isnull( targetStockingPoint_MP ) ) { -- Gitblit v1.9.3