From c179ab5f3f347b5b6acd6066dadd23c8031a486b Mon Sep 17 00:00:00 2001
From: yanyuan <yuan.yan@capgemini.com>
Date: 星期二, 05 九月 2023 17:58:09 +0800
Subject: [PATCH] Merge branch 'dev_yy' into dev
---
_Main/BL/Type_MacroPlan/Method_MappingExternalSupplyData.qbl | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/_Main/BL/Type_MacroPlan/Method_MappingExternalSupplyData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingExternalSupplyData.qbl
index c04e1ba..c30b6bc 100644
--- a/_Main/BL/Type_MacroPlan/Method_MappingExternalSupplyData.qbl
+++ b/_Main/BL/Type_MacroPlan/Method_MappingExternalSupplyData.qbl
@@ -10,8 +10,15 @@
// renhao Aug-14-2023 (created)
listtodeal := selectset( this,MappingExternalSupply,externalSupply, not isnull( StockingPoint_MP::FindById( this, externalSupply.StockingPointID() ) ) );
+ totalcount := listtodeal.Size();
+ info( "ExternalSupply has " + totalcount.AsQUILL() + " rows in total" );
+ count := 0;
traverse( listtodeal,Elements,externalSupply){
+ count := count + 1;
+ if( count - [Number](count/100) * 100 = 0 or count = totalcount ){
+ info( "Now is dealing with the " + count.AsQUILL() + "ExternalSupply " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
+ }
// product := select( this,MappingProduct,product,product.ID() = externalSupply.ProductID() and product.KeyProduct() = nuclear,true);
//
// if( not isnull( product)){
--
Gitblit v1.9.3