From b18e4004f21e9ec18e2984630888f6626befeb55 Mon Sep 17 00:00:00 2001
From: yanweiyuan3 <yanweiyuan3@gmail.com>
Date: 星期六, 07 十月 2023 11:02:28 +0800
Subject: [PATCH] Merge branch 'dev' into dev_yy
---
_Main/BL/Type_GlobalDTOTable/Method_SetIsLinkedWithFinishedGoodAttributes.qbl | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/_Main/BL/Type_GlobalDTOTable/Method_SetIsLinkedWithFinishedGoodAttributes.qbl b/_Main/BL/Type_GlobalDTOTable/Method_SetIsLinkedWithFinishedGoodAttributes.qbl
index 6aedc24..5a4ba17 100644
--- a/_Main/BL/Type_GlobalDTOTable/Method_SetIsLinkedWithFinishedGoodAttributes.qbl
+++ b/_Main/BL/Type_GlobalDTOTable/Method_SetIsLinkedWithFinishedGoodAttributes.qbl
@@ -30,12 +30,16 @@
traverse( this, Global_MappingProduct_MP, product,
product.ProductMajorType() = "鎴愬搧" )
{
+ uniquebomids := construct( Strings );
+ product.IsLinkedWithFinishedGood( false );
product.SetIsLinkedWithFinishedGoodAttributes_Recursive( 0, // depth
100, // maxdepth
productspool,
operationspool,
- operationbomspool );
-
+ operationbomspool,
+ uniquebomids );
+ uniquebomids := uniquebomids.Unique();
+ product.BOMCount( uniquebomids.Size() );
}
*]
}
--
Gitblit v1.9.3