Index: APPS/Halux/common/impl/SequentieService.cls.xml =================================================================== diff -u -r29938 -r32564 --- APPS/Halux/common/impl/SequentieService.cls.xml (.../SequentieService.cls.xml) (revision 29938) +++ APPS/Halux/common/impl/SequentieService.cls.xml (.../SequentieService.cls.xml) (revision 32564) @@ -5,6 +5,16 @@ 1 APPS.Halux.common.SequentieService,TECH.RegisteredObject + +APPS.Halux.common.enu.ProductieGroep.AutoComplete +1 + + + +APPS.Halux.common.enu.Categorie.AutoComplete +1 + + BatchID:%Integer TECH.Iterator @@ -30,6 +40,7 @@ // enkel voor productiesequentie new style #dim SequentieID As %String = ..GeefSequentieIDVoorBatch(BatchID) #dim Sequentie As APPS.Halux.common.ProductieSequentie = ##class(APPS.Halux.common.ProductieSequentie).OpenId(SequentieID) + Quit Sequentie ]]> @@ -40,13 +51,14 @@ 0 ) + If (ResultSet.Next()) { + Set HeeftProductieSequentie = (ResultSet.GetData(1) > 0) } - quit HeeftProductieSequentie + + Quit HeeftProductieSequentie ]]> @@ -55,13 +67,15 @@ 1 @@ -71,23 +85,32 @@ xxxSequence = oldSchool , xxxSequentie = newSchool Batch:APPS.Halux.common.Batch @@ -97,26 +120,26 @@ APPS.Halux.common.ProductieSequentie Batch:APPS.Halux.common.Batch,ProductieSequentie:APPS.Halux.common.ProductieSequentie 1 @@ -127,23 +150,33 @@ CR<",$C(13,10)) - Do ##class(vhLib.Logger).%New("HALUX.VHOSS").Warning("BouwProductSequence","Batch " _ Batch.GeefID() _ ": volgende lades zijn niet opgenomen in de productiesequentie: " _ MeldingVoorGebruiker) + + If ($Length($Get(SkippedTekst))) { + #dim MeldingVoorGebruiker As %String = $$REPLACE^vhRtn1(SkippedTekst, ">CR<", $Char(13, 10)) + Do ##class(vhLib.Logger).%New("HALUX.VHOSS").Warning("BouwProductSequence", "Batch " _ Batch.GeefID() _ ": volgende lades zijn niet opgenomen in de productiesequentie: " _ MeldingVoorGebruiker) } - } else { + } Else { Do blSequencer.BldLeanV1Sequence(.QtyLade) } - do OperatieScope.Gelukt() - } catch { + + Do OperatieScope.Gelukt() + } Catch { #dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() - $$$IfThen(Exception.IsMajor(),OperatieScope.Gefaald(),OperatieScope.Gelukt()) + + If (Exception.IsMajor()) { + Do OperatieScope.Gefaald() + } Else { + Do OperatieScope.Gelukt() + } + Do ##class(TECH.ExceptionHandler).Throw(Exception) } ]]> @@ -153,24 +186,28 @@ ActiviteitGroepDataLijst:%ListOfObjects,ProductieSequentie:APPS.Halux.common.ProductieSequentie,BatchID:%String @@ -180,9 +217,7 @@ Batch:APPS.Halux.common.Batch 1 %Boolean - @@ -192,31 +227,31 @@ APPS.Halux.common.ProductieSequentie Batch:APPS.Halux.common.Batch 1 @@ -276,14 +323,15 @@ 1 DS.PPS.TBX.sub.emWPLosOnderdeel @@ -292,14 +340,15 @@ 1 DS.PPS.TBX.sub.emWPVerpak @@ -322,15 +371,19 @@ %Boolean