From 23e251ff1d124de2fb13fe195a8b4575bc0676a1 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 09 八月 2024 16:52:39 +0800
Subject: [PATCH] 财务销量报表二维表生成
---
_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