From d5e46a7a9f2cb9123b9aafb39a20e14059faa2e4 Mon Sep 17 00:00:00 2001
From: Kevin Kok Khah Whey <khahwhey.kok@3ds.com>
Date: 星期三, 18 十月 2023 10:55:59 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_Kevin
---
_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_Apply#202.qbl | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git "a/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_Apply\043202.qbl" "b/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_Apply\043202.qbl"
index 502281f..278b5f3 100644
--- "a/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_Apply\043202.qbl"
+++ "b/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_Apply\043202.qbl"
@@ -1,14 +1,15 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Apply (
- ManufactureLTProcessSection toApply
+ ManufactureLTProcessSection toApply,
+ MacroPlan macroPlan
)
{
TextBody:
[*
// yypsybs Aug-28-2023 (created)
parent := toApply.ManufactureLTImputation();
- toUpdate := select( toApply, ManufactureLTImputation.MacroPlan.Routing.RoutingStep.Operation, op,
+ toUpdate := select( macroPlan, Routing.RoutingStep.Operation, op,
op.RoutingID() = parent.OrgCode() + "_" + parent.SkuID()
and op.RoutingStepName() = toApply.ProcessSection() + "_" + toApply.Sequence()
and op.Name() = ifexpr( toApply.Line() <> "",
@@ -18,7 +19,7 @@
toUpdate.UserLeadTime( Duration::Days( toApply.EditLT() ) );
toApply.SystemLT( toApply.EditLT() );
} else {
- info( "operation to update not found" );
+ debuginfo( "operation to update not found" );
}
*]
}
--
Gitblit v1.9.3