From 489022017f8b581ab413455b41ec841879a75e03 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期六, 12 十月 2024 17:48:22 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

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

diff --git a/_Main/BL/Type_InventorySummarySource/StaticMethod_InitiateSearch.qbl b/_Main/BL/Type_InventorySummarySource/StaticMethod_InitiateSearch.qbl
index 4003115..38b40e6 100644
--- a/_Main/BL/Type_InventorySummarySource/StaticMethod_InitiateSearch.qbl
+++ b/_Main/BL/Type_InventorySummarySource/StaticMethod_InitiateSearch.qbl
@@ -23,8 +23,9 @@
     }
     table                     := selectobject( owner, InventorySummarySource.InventorySummaryReport, table, table.IsShow() );
     if( not isnull( table ) ){
-      products                := selectset( owner, Product_MP, product, true );
-      table.Generate( search, products );
+      factorys                := selectset( owner, Factory, factory, factory.ID() = FinancialProductionReport::GetDefaultAllUnit() );
+      productids              := selectuniquevalues( table, InventroySummaryRow, row, row.Name() );
+      table.Generate( search, factorys, productids );
     }
     return table;
   *]

--
Gitblit v1.9.3