From 8c546e869f979f6f9e83d141cb8b767da6472d66 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期二, 15 十月 2024 16:53:46 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg

---
 _Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl b/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl
index b00f219..ed9b769 100644
--- a/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl
+++ b/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl
@@ -29,7 +29,8 @@
                                               RowNr                   := rowNr,
                                               SourceStockpoingPointID := TransferPlanRow::IdentifyTheFactory( t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP() ),
                                               TargetStockpoingPointID := TransferPlanRow::IdentifyTheFactory( t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP() ),
-                                              ProductID               := pit.Product_MP().ID() );     
+                                              ProductID               := pit.Product_MP().ID(),
+                                              Category                := pit.Product_MP().ParentID() );     
           }
           
           // 鎵惧垪
@@ -77,7 +78,7 @@
     minDateTPC := macroPlan.TransferPlanColumn( relnew,
                                                 ColumnDate := Date::MinDate() );
     traverse ( macroPlan, TransferPlanRow, tpr ) {
-      productCell := minDateTPC.TransferPlanCell( relnew, Value := tpr.ProductID() );
+      productCell := minDateTPC.TransferPlanCell( relnew, Value := tpr.Category() + "_" + tpr.ProductID() );
       productCell.TransferPlanRow( relset, tpr );
     }
     

--
Gitblit v1.9.3