From 91f5cf28f64aa9c990738398dd62f253647a3639 Mon Sep 17 00:00:00 2001
From: hongji.li <hongji.a.li@capgemini.com>
Date: 星期四, 21 九月 2023 10:25:00 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lhj
---
_Main/BL/Type_MappingBOM/StaticMethod_CreateTestData.qbl | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/_Main/BL/Type_MappingBOM/StaticMethod_CreateTestData.qbl b/_Main/BL/Type_MappingBOM/StaticMethod_CreateTestData.qbl
index 2c92dc7..d374c5e 100644
--- a/_Main/BL/Type_MappingBOM/StaticMethod_CreateTestData.qbl
+++ b/_Main/BL/Type_MappingBOM/StaticMethod_CreateTestData.qbl
@@ -3,19 +3,20 @@
StaticMethod CreateTestData (
MacroPlan parent,
String businessType,
- String orgCode
+ String orgCode,
+ String productCode
) as MappingBOM
{
TextBody:
[*
// yypsybs Sep-18-2023 (created)
- value := select( parent, MappingBOM, bom, bom.BusinessType() = businessType and bom.OrganCode() = orgCode );
+ value := select( parent, MappingBOM, bom, bom.BusinessType() = businessType and bom.OrganCode() = orgCode and bom.ProductCode() = productCode );
if( isnull( value ) ) {
value := parent.MappingBOM( relnew,
BusinessType := businessType,
OrganCode := orgCode,
+ ProductCode := productCode,
ProcessSection := "",
- ProductCode := "",
ComponentCode := "",
AlternativeMaterialCode := "" );
}
--
Gitblit v1.9.3