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_CreateOrUpdate.qbl | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate.qbl b/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate.qbl
index fe55479..3739dd6 100644
--- a/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate.qbl
+++ b/_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate.qbl
@@ -1,7 +1,8 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateOrUpdate (
- Operation op
+ const Operation op,
+ GlobalOTDSOP parent
) as ManufactureLTProcessSection
{
TextBody:
@@ -31,9 +32,11 @@
}
child := null( ManufactureLTProcessSection );
//if( orgCode <> "" and productId <> "" and processStep <> "" and sequence <> "" ) {
- // parent := ManufactureLTImputation::CreateOrUpdate( op.RoutingStep().Routing().MacroPlan(), orgCode, productId, "" );
- // info( "DaysAsReal : " + [String]op.UserLeadTime().DaysAsReal() );
- // child := ManufactureLTProcessSection::CreateOrUpdate( parent, processStep, false, sequence, line, op.UserLeadTime().DaysAsReal(), 0.0, "" );
+ ltParent := ManufactureLTImputation::CreateOrUpdate( parent, orgCode, productId, "" );
+ info( "DaysAsReal : " + [String]op.UserLeadTime().DaysAsReal() );
+ child := ManufactureLTProcessSection::CreateOrUpdate( ltParent, processStep, false, sequence, line, op.UserLeadTime().DaysAsReal(), 0.0, "" );
+ //} else {
+ // info( "skip operation" );
//}
return child;
*]
--
Gitblit v1.9.3