From d03861b11b193439353fa5d9b92eb6ee1e6458e2 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期六, 12 十月 2024 17:33:03 +0800
Subject: [PATCH] 库存汇总报表查询条件格式修改,发动机物流成本报表系数,汇总添加

---
 _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