From acf70acb5438a3358d07978afdc0eb28950f40d5 Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期一, 12 八月 2024 16:28:01 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl b/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl
index 6cbc77d..82d945f 100644
--- a/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl
+++ b/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl
@@ -2,18 +2,18 @@
 #parent: #root
 Method GetRow (
   String salessegment,
-  String product
+  Product_MP product
 ) as FinancialSalesRow
 {
   TextBody:
   [*
     // 鐢勫叞楦� Jun-28-2024 (created)
-    row := selectobject( this, FinancialSalesRow, row, row.Name() = product and row.Unit() = salessegment );
+    row := selectobject( this, FinancialSalesRow, row, row.Name() = product.ID() and row.Unit() = salessegment );
     
     if( isnull( row ) ){
-      row := this.FinancialSalesRow( relnew, Name := product, Unit := salessegment );
+      row := this.FinancialSalesRow( relnew, Name := product.ID(), Unit := salessegment );
       //鍒濆鍖栧崟鍏冩牸
-      row.InitializeCell( this );
+      row.InitializeCell( this, product );
     }
     
     return row;

--
Gitblit v1.9.3