Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator.cls.xml =================================================================== diff -u -r71485 -r71572 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator.cls.xml (.../ProductOptiesGenerator.cls.xml) (revision 71485) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator.cls.xml (.../ProductOptiesGenerator.cls.xml) (revision 71572) @@ -45,7 +45,8 @@ Do ##class(TECH.ListUtils).AppendList(Opties, ..GeefOptiesVoorAxInventTransIdEnAxConfigId(Toelevering, Product, SequentieNummerBinnenToelevering)) Do Opties.Insert(..GeefOptieVoorLade(..PrependNul(SequentieNummerBinnenToelevering), "-" _ "Korttekst", Product.GeefKorttekst())) - Do Opties.Insert(..GeefOptieVoorLade(..PrependNul(SequentieNummerBinnenToelevering), "-" _ "Langtekst", Product.GeefLangtekst())) + #dim Taal As DOM.enu.Taal = ##class(DOM.enu.Taal).Nederlands() + Do Opties.Insert(..GeefOptieVoorLade(..PrependNul(SequentieNummerBinnenToelevering), "-" _ "Langtekst", Product.GeefLangtekst(Taal))) Do Opties.Insert(..GeefOptieVoorLade(..PrependNul(SequentieNummerBinnenToelevering), "-" _ "Dossiercode", Product.GeefDossierCode())) #dim FscHoutCertificaat As %String = ..FscConverterNaarObjective.Converteer(Product.GeefFSCHout()) @@ -95,13 +96,15 @@ While (ToeleveringLijnIterator.HasNext() && $$$Not(ToeleveringLijnGevonden)) { #dim ProductToeleveringLijn As DOM.AKP.impl.DataM.DataMProductToeleveringLijn = ToeleveringLijnIterator.Next() + If ProductToeleveringLijn.GeefProductID() = Product.GeefID() { Set AxInventTransId = ProductToeleveringLijn.GeefAxInventTransId() Set AxConfigId = ProductToeleveringLijn.GeefAxConfigId() + Set ToeleveringLijnGevonden = $$$True } } - + Do LijstOpties.Insert(..GeefOptieVoorLade(SequentieNummerBinnenToelevering, "-" _ "InventTransID", AxInventTransId)) Do LijstOpties.Insert(..GeefOptieVoorLade(SequentieNummerBinnenToelevering, "-" _ "AxConfigId", AxConfigId)) Index: vhUnitTest/APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator/GenereerOptiesVoorLade/ToeleveringLijnMock.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator/GenereerOptiesVoorLade/ToeleveringLijnMock.cls.xml (revision 0) +++ vhUnitTest/APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator/GenereerOptiesVoorLade/ToeleveringLijnMock.cls.xml (revision 71572) @@ -0,0 +1,35 @@ + + + +%RegisteredObject,DOM.AKP.impl.DataM.DataMProductToeleveringLijn,Tools.Mock.MockClassBase + + +Toelevering:DOM.AKP.Toelevering,LijnNr:%Integer,GlobalNode:TECH.Persistentie.GlobalNode +1 +1 +%Status + + + + +%String + + + + +%String + + + + +%String + + + + + + Index: vhUnitTest/APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator/GenereerOptiesVoorLade/Test.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator/GenereerOptiesVoorLade/Test.cls.xml (revision 0) +++ vhUnitTest/APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator/GenereerOptiesVoorLade/Test.cls.xml (revision 71572) @@ -0,0 +1,109 @@ + + + +vhUnitTest.TestCase + + +%Integer +222222 + + + +%Integer +1 + + + +%Integer +2 + + + +%String +111111 + + + + + + + +1 +APPS.Halux.PPS.Activiteit.impl.common.dto.BatchNaarObjectiveUitvoeringInfo + + + + +Optie:APPS.Halux.PPS.Document.impl.common.BatchNaarObjective.dto.BatchNaarObjectiveOptions,Omschrijving:%String,Naam:%String,Waarde:%String +1 + + + + + +