From b343b593893e2f3278f2695d1411f3aacaeedfc8 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 13 九月 2024 16:33:50 +0800
Subject: [PATCH] 客户需求报表数据调整
---
_Main/BL/Type_CustomerDemandIDS/Method_GetRowByUnit.qbl | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/_Main/BL/Type_CustomerDemandIDS/Method_GetRowByUnit.qbl b/_Main/BL/Type_CustomerDemandIDS/Method_GetRowByUnit.qbl
index d8ceb1a..ede4c8e 100644
--- a/_Main/BL/Type_CustomerDemandIDS/Method_GetRowByUnit.qbl
+++ b/_Main/BL/Type_CustomerDemandIDS/Method_GetRowByUnit.qbl
@@ -1,20 +1,19 @@
Quintiq file version 2.0
#parent: #root
Method GetRowByUnit (
- Product_MP product,
+ String product,
String unit
) as CustomerDemandIDSRow
{
TextBody:
[*
// 鐢勫叞楦� Sep-6-2024 (created)
- row := selectobject( this, Row, row, row.Name() = product.ID() and row.Factory() = unit );
+ row := selectobject( this, Row, row, row.Name() = product and row.Factory() = unit );
if( isnull( row ) ){
//鍒濆鍖栧崟鍏冩牸
- row := this.Row( relnew, Name := product.ID(), Factory := unit );
- row.Product_MP( relset, product );
+ row := this.Row( relnew, Name := product, Factory := unit );
traverse( this, Column, column ){
- row.Initialize( column, product, unit );
+ row.Initialize( column );
}
}
return row;
--
Gitblit v1.9.3