Index: APPS/Halux/PPS/Document/impl/common/OnderdelenPicking.cls.xml =================================================================== diff -u -r57114 -r60544 --- APPS/Halux/PPS/Document/impl/common/OnderdelenPicking.cls.xml (.../OnderdelenPicking.cls.xml) (revision 57114) +++ APPS/Halux/PPS/Document/impl/common/OnderdelenPicking.cls.xml (.../OnderdelenPicking.cls.xml) (revision 60544) @@ -86,10 +86,17 @@ %ListOfObjects ELEMENTTYPE="APPS.common.Print.Kolommen.Document" @@ -99,7 +106,7 @@ OnderdelenPickingUitvoeringInfo:APPS.Halux.PPS.Activiteit.impl.common.dto.OnderdelenPickingUitvoeringInfo 1 -GesorteerdeOnderdeelPickingsVoor1Toelevering:APPS.Halux.PPS.Document.impl.common.OnderdelenPicking.OnderdeelPickingBinaireKnoop +GesorteerdeOnderdeelPickingsVoor1Toelevering:APPS.Halux.PPS.Document.impl.common.OnderdelenPicking.OnderdeelPickingBinaireKnoop,Categorie:APPS.Halux.common.enu.Categorie="",Productiegroep:APPS.Halux.common.enu.ProductieGroep="" 1 + +GesorteerdeUitvoeringInfoIt:TECH.Iterator +1 +TECH.Iterator + 0 { + #dim OPEenProductOorspronkelijkProduct As APPS.Halux.PPS.Activiteit.impl.common.dto.OnderdelenPickingUitvoeringInfo = OPVoorEenProductLijstOorspronkelijkProduct.GetAt(1) + #dim SequentieNummerOorspronkelijkProduct As %Integer = OPEenProductOorspronkelijkProduct.SequentieNummer + } + } + #dim OnderdelenPickingen As TECH.Iterator = ##class(TECH.ListIterator).%New(Product.PickingsPerMaatwerkProductID) + If OnderdelenPickingen.HasNext(){ + #dim OPVoorEenProductLijst As APPS.Halux.PPS.Activiteit.impl.common.dto.OnderdelenPickingUitvoeringInfoLijst = OnderdelenPickingen.Next() + If OPVoorEenProductLijst.Count() > 0 { + #dim OPEenProduct As APPS.Halux.PPS.Activiteit.impl.common.dto.OnderdelenPickingUitvoeringInfo = OPVoorEenProductLijst.GetAt(1) + #dim SequentieNummerProduct As %Integer = OPEenProduct.SequentieNummer + If SequentieNummerProduct < SequentieNummerOorspronkelijkProduct { + Set OPEenProduct.SequentieNummer = SequentieNummerOorspronkelijkProduct + } + } + } + } + } + If (SamengesteldeLijst.Count() = 0 || $$$Not(OvereenkomstigProductGevonden)){ + Do SamengesteldeLijst.Insert(OorspronkelijkProduct) + } + Do SamengesteldeLijstIterator.Reset() + } + + If SamengesteldeLijst.Count() > 0 { + Set GesorteerdeUitvoeringInfoIt = SamengesteldeLijstIterator + } Else { + Do GesorteerdeUitvoeringInfoIt.Reset() + } + + Quit GesorteerdeUitvoeringInfoIt +]]> + + DataVoorLijn:APPS.Halux.PPS.Document.impl.common.OnderdelenPicking.OnderdeelPickingBinaireKnoop,VermeldOmschrijvingEnKorttekst:%Boolean 1 @@ -211,7 +279,7 @@ #dim OPEenProduct As APPS.Halux.PPS.Activiteit.impl.common.dto.OnderdelenPickingUitvoeringInfo = OPVoorEenProductLijst.GetAt(1) Do ..InitDocumentIndienNodig(OPEenProduct) - + #dim EersteKolomBreedte As %Integer = ..Document.DocumentType.GeefKolomDefinitie(1).Breedte Set GeWordWrapteProductOmschrijvingLijnen = ##class(TECH.ListIterator).%New(##class(TECH.StringUtils).WordWrap(DataVoorLijn.HFV.GeefOmschrijving(),EersteKolomBreedte)) Index: APPS/Halux/PPS/DocumentDefinitie/TAX/OnderdelenPickingLijst.cls.xml =================================================================== diff -u -r29059 -r60544 --- APPS/Halux/PPS/DocumentDefinitie/TAX/OnderdelenPickingLijst.cls.xml (.../OnderdelenPickingLijst.cls.xml) (revision 29059) +++ APPS/Halux/PPS/DocumentDefinitie/TAX/OnderdelenPickingLijst.cls.xml (.../OnderdelenPickingLijst.cls.xml) (revision 60544) @@ -22,11 +22,10 @@ Do DocumentType.ClearDocument() // maak kolommen aan - Do DocumentType.VoegKolomDefinitieToe(##class(APPS.common.Print.Kolommen.KolomDefinitie).%New("Product omschrijving",25,##class(APPS.common.Print.Kolommen.TekstType).String(),##class(APPS.common.Print.Kolommen.TekstUitlijning).Links())) + Do DocumentType.VoegKolomDefinitieToe(##class(APPS.common.Print.Kolommen.KolomDefinitie).%New("Product omschrijving",35,##class(APPS.common.Print.Kolommen.TekstType).String(),##class(APPS.common.Print.Kolommen.TekstUitlijning).Links())) Do DocumentType.VoegKolomDefinitieToe(##class(APPS.common.Print.Kolommen.KolomDefinitie).%New("Korttekst",25,##class(APPS.common.Print.Kolommen.TekstType).String(),##class(APPS.common.Print.Kolommen.TekstUitlijning).Rechts())) Do DocumentType.VoegKolomDefinitieToe(##class(APPS.common.Print.Kolommen.KolomDefinitie).%New("#",3,##class(APPS.common.Print.Kolommen.TekstType).String(),##class(APPS.common.Print.Kolommen.TekstUitlijning).Rechts())) Do DocumentType.VoegKolomDefinitieToe(##class(APPS.common.Print.Kolommen.KolomDefinitie).%New("Lengte",6,##class(APPS.common.Print.Kolommen.TekstType).String(),##class(APPS.common.Print.Kolommen.TekstUitlijning).Rechts())) - Do DocumentType.VoegKolomDefinitieToe(##class(APPS.common.Print.Kolommen.KolomDefinitie).%New("Control",,##class(APPS.common.Print.Kolommen.TekstType).String(),##class(APPS.common.Print.Kolommen.TekstUitlijning).Rechts())) // sla het documenttype op Do DocumentType.SaveDocument() Index: APPS/Halux/PPS/Document/impl/TAX/OnderdelenPicking/SubtitelBepaler.cls.xml =================================================================== diff -u -r30423 -r60544 --- APPS/Halux/PPS/Document/impl/TAX/OnderdelenPicking/SubtitelBepaler.cls.xml (.../SubtitelBepaler.cls.xml) (revision 30423) +++ APPS/Halux/PPS/Document/impl/TAX/OnderdelenPicking/SubtitelBepaler.cls.xml (.../SubtitelBepaler.cls.xml) (revision 60544) @@ -10,7 +10,9 @@ #dim EersteKar, EersteVak, LaatsteKar, LaatsteVak As TECH.Integer = "" While ListIt.HasNext() { #dim Vakken As %ListOfDataTypes = ListIt.Next() + Do ##class(Tools.Wlip).%New(110).ListOfDataTypes(VakkenPerKar.GetAt(1)) Do ##class(TECH.Algo.Sort.MergeSort).Sort(.Vakken, ##class(TECH.Comparator.IntegerComparator).%New()) + If EersteKar = "" { Set EersteKar = (+ListIt.Key()) Set EersteVak = Vakken.GetAt(1) Index: vhDeploy/D2020043xVoerUitMaakDocumentTaxOnderdelenpickingLijst.cls.xml =================================================================== diff -u --- vhDeploy/D2020043xVoerUitMaakDocumentTaxOnderdelenpickingLijst.cls.xml (revision 0) +++ vhDeploy/D2020043xVoerUitMaakDocumentTaxOnderdelenpickingLijst.cls.xml (revision 60544) @@ -0,0 +1,19 @@ + + + +vhDeploy.Deploy + + +%String +MaakDocument uitvoeren om zo de Control kolom te verwijderen en de product omschrijving kolom te verbreden + + + +1 + + + + + + Index: APPS/Halux/PPS/Document/impl/TAX/OnderdelenPicking.cls.xml =================================================================== diff -u -r57022 -r60544 --- APPS/Halux/PPS/Document/impl/TAX/OnderdelenPicking.cls.xml (.../OnderdelenPicking.cls.xml) (revision 57022) +++ APPS/Halux/PPS/Document/impl/TAX/OnderdelenPicking.cls.xml (.../OnderdelenPicking.cls.xml) (revision 60544) @@ -122,11 +122,11 @@ -Wortel:APPS.Halux.PPS.Document.impl.common.OnderdelenPicking.OnderdeelPickingBinaireKnoop +Wortel:APPS.Halux.PPS.Document.impl.common.OnderdelenPicking.OnderdeelPickingBinaireKnoop,Categorie:APPS.Halux.common.enu.Categorie="",Productiegroep:APPS.Halux.common.enu.ProductieGroep="" 1