From 462215553c754d26acde8edab81b4a73f774e21e Mon Sep 17 00:00:00 2001 From: renhao <renhui.hao@capgemini.com> Date: 星期五, 13 十月 2023 11:20:48 +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