Index: APPS/Halux/common/enu/Categorie/AutoComplete.cls.xml =================================================================== diff -u --- APPS/Halux/common/enu/Categorie/AutoComplete.cls.xml (revision 0) +++ APPS/Halux/common/enu/Categorie/AutoComplete.cls.xml (revision 32564) @@ -0,0 +1,141 @@ + + + +serial +1 +%SerialObject + + +APPS.Halux.common.enu.Categorie +"Banco" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Burobox ladeblok" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Hoekkast" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"ILS" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"ISS" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Inpak" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Kaderdeur" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Legrabox" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"MDS" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Mat" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Mondo" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Onbepaald" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Product op maat" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Servodrive" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"TAORbox" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Tandembox" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Verlichting" +1 +1 + + + +APPS.Halux.common.enu.Categorie +"Verlichtingsbodem" +1 +1 + + + +%Library.CacheSerialState +^APPS.Halux.co97D6.AutoCompleteS + + + + + Index: APPS/Halux/PPS/Activiteit/impl/TAOR/Verpakking.cls.xml =================================================================== diff -u -r30941 -r32564 --- APPS/Halux/PPS/Activiteit/impl/TAOR/Verpakking.cls.xml (.../Verpakking.cls.xml) (revision 30941) +++ APPS/Halux/PPS/Activiteit/impl/TAOR/Verpakking.cls.xml (.../Verpakking.cls.xml) (revision 32564) @@ -47,11 +47,13 @@ %Status 1 @@ -63,16 +65,17 @@ Set ..ProductieSequentieWerklijstItemBewaarder = ##class(APPS.Halux.PPS.Activiteit.impl.WerklijstItemBewaarder).%New() Set ..IngegevenKenmerkenTypeAPI = ##class(DOM.DomeinContext).Instance().GeefIngegevenKenmerkenTypeAPI() Set ..WerklijstItemsMaker = ##class(APPS.Halux.PPS.Activiteit.impl.TAOR.Verpakking.WerklijstItemsMaker).%New() + Quit ##super() ]]> 1 Index: APPS/Halux/PPS/impl/AansturingActie/common/KlantEtiket/Template.cls.xml =================================================================== diff -u -r31730 -r32564 --- APPS/Halux/PPS/impl/AansturingActie/common/KlantEtiket/Template.cls.xml (.../Template.cls.xml) (revision 31730) +++ APPS/Halux/PPS/impl/AansturingActie/common/KlantEtiket/Template.cls.xml (.../Template.cls.xml) (revision 32564) @@ -16,11 +16,13 @@ APPS.Halux.PPS.impl.AansturingActie.common.KlantEtiket.EtiketDataMetTussenEtiketTrigger list 1 +1 BL.Sys.LabelPrinter 1 +1 @@ -56,58 +58,62 @@ Batch:APPS.Halux.common.Batch,PrintSpecifiekEtiket:%Boolean,GewensteToeleveringID:%String,GewensteDossiercode:%String,GewenstAantal:%Integer Batch:APPS.Halux.common.Batch,PrintSpecifiekEtiket:%Boolean,GewensteToeleveringID:%String,GewensteDossiercode:%String,GewenstAantal:%Integer 0) && ..IsPrintenNodig(ToeleveringLijn) { - Set Etiket = ..GeefEtiket(QueueID,BatchID,ToeleveringID,ToeleveringLijnID,AantalEtiketten,VoorkeurPrinter) + #dim Etiket As BL.Etiket.LadeKlantEtiket = ..GeefEtiket(QueueID, BatchID, ToeleveringID, ToeleveringLijnID, AantalEtiketten, VoorkeurPrinter) - set EtiketDataMetTussenEtiketTrigger = ##class(APPS.Halux.PPS.impl.AansturingActie.common.KlantEtiket.EtiketDataMetTussenEtiketTrigger).%New() - set EtiketDataMetTussenEtiketTrigger.Etiket = Etiket - set EtiketDataMetTussenEtiketTrigger.TussenEtiketTriggerKeyList = ..GeefTussenEtiketTriggerKeyList(Batch, SequenceInfo) + Set EtiketDataMetTussenEtiketTrigger = ##class(APPS.Halux.PPS.impl.AansturingActie.common.KlantEtiket.EtiketDataMetTussenEtiketTrigger).%New() + Set EtiketDataMetTussenEtiketTrigger.Etiket = Etiket + Set EtiketDataMetTussenEtiketTrigger.TussenEtiketTriggerKeyList = ..GeefTussenEtiketTriggerKeyList(Batch, SequenceInfo) - do ..Etiketten.Insert(EtiketDataMetTussenEtiketTrigger) + Do ..Etiketten.Insert(EtiketDataMetTussenEtiketTrigger) } } } @@ -133,10 +139,12 @@ 1 @@ -145,17 +153,21 @@ TemplateDefaultData "Template" - -Etiketten - - -blLabelPrinter - EtiketLayout Index: APPS/Halux/PPS/impl/AansturingActie/Taorbox/KlantEtiket/Gemonteerd/EtiketPrinter.cls.xml =================================================================== diff -u -r30135 -r32564 --- APPS/Halux/PPS/impl/AansturingActie/Taorbox/KlantEtiket/Gemonteerd/EtiketPrinter.cls.xml (.../EtiketPrinter.cls.xml) (revision 30135) +++ APPS/Halux/PPS/impl/AansturingActie/Taorbox/KlantEtiket/Gemonteerd/EtiketPrinter.cls.xml (.../EtiketPrinter.cls.xml) (revision 32564) @@ -23,6 +23,7 @@ @@ -31,15 +32,15 @@ QueueID:%String,BatchID:%String,ToeleveringID:%String,ToeleveringLijnID:%String,AantalEtiketten:%Integer,VoorkeurPrinter:%String 1 APPS.common.Print.AbstractLabel - ToeleveringLijn:DOM.AKP.ProductToeleveringLijn 1 %Boolean - @@ -48,15 +49,16 @@ 1 APPS.Halux.common.impl.ProductieSequentieGroepering 1 %Boolean - @@ -66,14 +68,18 @@ %ListOfDataTypes Index: APPS/Halux/PPS/impl/AansturingActie/Taorbox/KlantEtiket/OnGemonteerd/EtiketPrinter.cls.xml =================================================================== diff -u -r30928 -r32564 --- APPS/Halux/PPS/impl/AansturingActie/Taorbox/KlantEtiket/OnGemonteerd/EtiketPrinter.cls.xml (.../EtiketPrinter.cls.xml) (revision 30928) +++ APPS/Halux/PPS/impl/AansturingActie/Taorbox/KlantEtiket/OnGemonteerd/EtiketPrinter.cls.xml (.../EtiketPrinter.cls.xml) (revision 32564) @@ -28,6 +28,7 @@ @@ -36,15 +37,15 @@ QueueID:%String,BatchID:%String,ToeleveringID:%String,ToeleveringLijnID:%String,AantalEtiketten:%Integer,VoorkeurPrinter:%String 1 APPS.common.Print.AbstractLabel - ToeleveringLijn:DOM.AKP.ProductToeleveringLijn 1 %Boolean - @@ -53,15 +54,16 @@ 1 APPS.Halux.common.impl.ProductieSequentieGroepering 1 %Boolean - Index: APPS/Halux/Docs/impl/LadeKlantEtiketBuilder/LadeEigenschappenEtiketAanvuller.cls.xml =================================================================== diff -u -r30874 -r32564 --- APPS/Halux/Docs/impl/LadeKlantEtiketBuilder/LadeEigenschappenEtiketAanvuller.cls.xml (.../LadeEigenschappenEtiketAanvuller.cls.xml) (revision 30874) +++ APPS/Halux/Docs/impl/LadeKlantEtiketBuilder/LadeEigenschappenEtiketAanvuller.cls.xml (.../LadeEigenschappenEtiketAanvuller.cls.xml) (revision 32564) @@ -39,13 +39,16 @@ 0 { #dim Zijkant As DOM.PM.Maatwerk.LadeInfo.impl.TAX.Zijkant = Zijkanten.GetAt(1) #dim ZijkantKleuren As %ArrayOfDataTypes = Zijkant.GeefKleuren() Do Kleuren.Insert(ZijkantKleuren.GetAt(2)) Do Kleuren.Insert(ZijkantKleuren.GetAt(1)) } + #dim Bodems As %ListOfObjects = Lade.GeefBodems() + If Bodems.Count() > 0 { #dim Bodem As DOM.PM.Maatwerk.LadeInfo.impl.TAX.Zijkant = Bodems.GetAt(1) Do Kleuren.Insert(Bodem.GeefKleur()) } + Set ..Etiket.Kleur = ##class(TECH.ListUtils).ListToPieces(Kleuren, "/") } Index: APPS/Halux/common/ProductieSequentie.cls.xml =================================================================== diff -u -r32007 -r32564 --- APPS/Halux/common/ProductieSequentie.cls.xml (.../ProductieSequentie.cls.xml) (revision 32007) +++ APPS/Halux/common/ProductieSequentie.cls.xml (.../ProductieSequentie.cls.xml) (revision 32564) @@ -36,6 +36,7 @@ TECH.FrequentieTabel 1 +1 @@ -197,13 +198,14 @@ While (ToeleveringIterator.HasNext()) { #dim Toelevering As DOM.AKP.Toelevering = ToeleveringIterator.Next() - + Kill Sortering #dim ProductLijnIterator As TECH.Iterator = Toelevering.GeefTypeToeleveringLijnIterator(##class(DOM.AKP.enu.ToeleveringLijnType).Product()) While (ProductLijnIterator.HasNext()) { #dim ProductLijn As DOM.AKP.ProductToeleveringLijn = ProductLijnIterator.Next() + // TODOPA vertaling van ProductID As %String naar DOM.common.ProductID #dim MaatwerkProduct As DOM.PM.MaatwerkProduct = ProductTypeAPI.GeefMaatwerkProduct(ProductLijn.GeefProductID()) #dim ProductieSequentieItems As %ListOfObjects = ..MaakProductieSequentieItems(Toelevering, ProductLijn) @@ -418,9 +420,6 @@ SequentieItems - -FrequentieTabel - 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 Index: APPS/Halux/common/enu/ProductieGroep/Verwerker.cls.xml =================================================================== diff -u -r30702 -r32564 --- APPS/Halux/common/enu/ProductieGroep/Verwerker.cls.xml (.../Verwerker.cls.xml) (revision 30702) +++ APPS/Halux/common/enu/ProductieGroep/Verwerker.cls.xml (.../Verwerker.cls.xml) (revision 32564) @@ -67,7 +67,7 @@ } ElseIf ProductieGroep = "S" { Do ..VerwerkStuk() } Else { - Set Exceptie = ##class(TECH.Exceptions.EnumerationException).%New(ProductieGroep,"APPS.Halux.common.enu.ProductieGroep") + Set Exceptie = ##class(TECH.Exceptions.EnumerationException).%New(ProductieGroep,"APPS.Halux.common.enu.ProductieGroep",$classname()) Do ##class(TECH.ExceptionHandler).Throw(Exceptie) } ]]> Index: APPS/Halux/PPS/Activiteit/impl/TAOR/Front.cls.xml =================================================================== diff -u -r29059 -r32564 --- APPS/Halux/PPS/Activiteit/impl/TAOR/Front.cls.xml (.../Front.cls.xml) (revision 29059) +++ APPS/Halux/PPS/Activiteit/impl/TAOR/Front.cls.xml (.../Front.cls.xml) (revision 32564) @@ -20,11 +20,13 @@ APPS.Halux.PPS.Activiteit.impl.WerklijstItemBewaarder 1 +1 APPS.Halux.PPS.Activiteit.impl.TAOR.Front.WerklijstItemsMaker 1 +1 @@ -49,10 +51,12 @@ %Status 1 @@ -63,22 +67,13 @@ %Library.CacheStorage -FrontDefaultData - -"Front" - -ProductieSequentieWerklijstItemBewaarder - - -WerklijstItemsMaker - -