From 7fccbbd4d9982aaa349b36cf8031cddac610e57f Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 20 十一月 2024 15:54:48 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_InitiateSearch.qbl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_InitiateSearch.qbl b/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_InitiateSearch.qbl
index 46683f7..2e90a8c 100644
--- a/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_InitiateSearch.qbl
+++ b/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_InitiateSearch.qbl
@@ -21,7 +21,9 @@
     }
     table                     := selectobject( owner, InventoryPlanArchiveVersion, table, table.IsShow() );
     if( not isnull( table ) ){
-      table.Generate( search);
+      productids             := selectuniquevalues( table, Row, row, row.Name() );
+      productlines           := selectuniquevalues( table, Row, row, row.Unit() );
+      table.Generate( search, productids, productlines );
     }
     return table;
   *]

--
Gitblit v1.9.3