From 4c2024c5a521c44b1b35c490fa98e84918840fcc Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 13 九月 2023 10:44:43 +0800
Subject: [PATCH] 物料标签同步库存规范

---
 _Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/_Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl b/_Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl
index f81023f..6c98026 100644
--- a/_Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl
+++ b/_Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl
@@ -10,12 +10,12 @@
       traverse ( pto, DependentDemand, dd, true ) {
         product_MP := dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Product_MP();
         if ( product_MP.IsPanelMaterial() ) {
-          this.PanelMaterial( relnew,
-                              PanelModel          := product_MP.ID(),
-                              MaterialDescription := product_MP.ID(),
-                              StartDate           := dd.Start().Date(),
-                              DemandQuantity      := dd.Quantity()
-                             );
+          macroPlan.PanelMaterial( relnew,
+                                   PanelModel          := product_MP.ID(),
+                                   MaterialDescription := product_MP.ID(),
+                                   StartDate           := dd.Start().Date(),
+                                   DemandQuantity      := dd.Quantity()
+                                  );
         }                   
       }
     }

--
Gitblit v1.9.3