From bcd7eb876bff759f6aef96f1014b0bca7a3322ff Mon Sep 17 00:00:00 2001
From: rislai <risheng.lai@capgemini.com>
Date: 星期五, 16 八月 2024 15:53:14 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

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

diff --git a/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl b/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl
index 6cbc77d..aeb1ee4 100644
--- a/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl
+++ b/_Main/BL/Type_FinancialSalesReport/Method_GetRow.qbl
@@ -2,18 +2,19 @@
 #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.Product_MP( relset, product );
       //鍒濆鍖栧崟鍏冩牸
-      row.InitializeCell( this );
+      row.InitializeCell( this, product );
     }
     
     return row;

--
Gitblit v1.9.3