From 4f426fd0938d68df759fff7570ad6ec2e62bac96 Mon Sep 17 00:00:00 2001 From: renhao <renhui.hao@capgemini.com> Date: 星期三, 18 十月 2023 09:08:32 +0800 Subject: [PATCH] Merge branch 'dev' --- _Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl b/_Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl index 3190688..27fc818 100644 --- a/_Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl +++ b/_Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl @@ -1,7 +1,7 @@ Quintiq file version 2.0 #parent: #root StaticMethod CreateOrUpdate ( - MacroPlan macroPlan, + GlobalOTDTable parent, String orgCode, String productId, String desc @@ -10,9 +10,9 @@ TextBody: [* // yypsybs Aug-25-2023 (created) - value := select( macroPlan, ManufactureLTImputation, item, item.OrgCode() = orgCode and item.SkuID() = productId ); + value := select( parent, ManufactureLTImputation, item, item.OrgCode() = orgCode and item.SkuID() = productId ); if( isnull( value ) ) { - value := macroPlan.ManufactureLTImputation( relnew, OrgCode := orgCode, SkuID := productId, Describe := desc ); + value := parent.ManufactureLTImputation( relnew, OrgCode := orgCode, SkuID := productId, Describe := desc ); } else { value.Describe( desc ); } -- Gitblit v1.9.3