From bc2de42011e9f28a3741bc0e340a9eef53e375d1 Mon Sep 17 00:00:00 2001
From: yypsybs <yypsybs@foxmail.com>
Date: 星期四, 07 九月 2023 17:31:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev_yx
---
_Main/BL/Type_MacroPlan/Method_MappingOperationCostData.qbl | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/_Main/BL/Type_MacroPlan/Method_MappingOperationCostData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingOperationCostData.qbl
index cf1f22c..3a315d0 100644
--- a/_Main/BL/Type_MacroPlan/Method_MappingOperationCostData.qbl
+++ b/_Main/BL/Type_MacroPlan/Method_MappingOperationCostData.qbl
@@ -31,8 +31,16 @@
}
}
+ totalcount := listtodealwithmaxsn.Size();
+ info( "OperationCost has " + totalcount.AsQUILL() + " rows in total" );
+
+ count := 0;
// Get the operation cost data
traverse( listtodealwithmaxsn, Elements, item ){
+ count := count + 1;
+ if( count - [Number](count/100) * 100 = 0 or count = totalcount ){
+ info( "Now is dealing with the " + count.AsQUILL() + "OperationCost " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
+ }
id := item.OrganCode() + "_" + item.ProductID() + "_" + item.ProcessSection() + "_" + item.Line();
operation := Operation::FindOperationTypeIndex( id );
account := Account_MP::FindByName( this, "Operation cost" );
--
Gitblit v1.9.3