From 59a8fe7a013435dee9d81c65bc289af35e79a7fd Mon Sep 17 00:00:00 2001 From: hongji.li <hongji.a.li@capgemini.com> Date: 星期五, 13 十月 2023 11:52:16 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lhj --- _Main/BL/Type_MacroPlan/Method_MappingOperationBOMData.qbl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMData.qbl index 208a5e8..6dd9ddc 100644 --- a/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMData.qbl +++ b/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMData.qbl @@ -76,7 +76,7 @@ } if( createPurchaseSupplyMaterial ) { toCreateBomList := selectuniquevalues( bomList, Elements, item, - item.ComponentType() = "P", item.OrganCode() + item.ComponentCode()); + item.ComponentType() = "P" and keyProductList.Find( item.ComponentCode())>=0, item.OrganCode() + item.ComponentCode()); traverse( toCreateBomList, Elements, key ) { boms := selectset( bomList, Elements, item, item.ComponentType() = "P" and item.OrganCode() + item.ComponentCode() = key ); bom := boms.First(); -- Gitblit v1.9.3