From 8a69c2f5505f7d54a7ce097765ca7c6c0e265725 Mon Sep 17 00:00:00 2001
From: hongji.li <hongji.a.li@capgemini.com>
Date: 星期一, 11 九月 2023 15:08:29 +0800
Subject: [PATCH] 物料标签&计划策略优化

---
 _Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl b/_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl
index c69081c..8e647b2 100644
--- a/_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl
+++ b/_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl
@@ -2,6 +2,8 @@
 #parent: #root
 StaticMethod CreateIfNotExist (
   GlobalOTDTable parent,
+  Number serialNumber,
+  String businessType,
   String matCode,
   String matName,
   String matType,
@@ -16,6 +18,8 @@
     value := MatAttrSettingAndPlanStrategy::GetExistByMatCode( parent, matCode );
     if( isnull( value ) ) {
       value := parent.MatAttrSettingAndPlanStrategy( relnew, 
+                                                     SerialNumber := serialNumber,
+                                                     BusinessType := businessType,
                                                      MatCode := matCode, 
                                                      MatName := matName,
                                                      MatType := matType,

--
Gitblit v1.9.3