From 3477844aa33d9f92fdc81d7918d7fb0173f46367 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 25 十月 2024 11:40:54 +0800
Subject: [PATCH] 大连发动机物流报表导入bug

---
 _Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl           |    2 +-
 _Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
index 3dbc8fd..23417e6 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
@@ -22,7 +22,7 @@
     
     table                     := owner.CCEngineLogisticsCostReport( relnew, ID := name, Name := name );
     owner.CCEngineLogisticsCostReport( relnew, ID := name + 'Show', Name := name, IsShow := true );
-    search                    := owner.CCEngineLogisticsCostSearch( relnew, Generation := allunit, MqbMlb := allunit, Power := allunit );
+    owner.CCEngineLogisticsCostSearch( relnew, Generation := allunit, MqbMlb := allunit, Power := allunit );
     
     products                  := construct( Product_MPs );
     
diff --git a/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl b/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl
index 4a74306..292e5e8 100644
--- a/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl
+++ b/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl
@@ -30,7 +30,7 @@
         if( inventory.Fac() = 'DL' and inventory.Lgort() = 'All' ){
           inventoryname := inventory.LineType();
         }
-        InventoryInterfaceData::Generate( owner, inventory.DDay(), inventory.MaterialNo(), inventoryname, [Number]inventory.Total() );
+        InventoryInterfaceData::Generate( owner, inventory.DDay(), inventory.MaterialNo(), inventoryname, inventory.Fac(), [Number]inventory.Total() );
     //    sadatalist.Add( sadata );
       }
     }

--
Gitblit v1.9.3