Index: vhUnitTest/DOM/PM/Maatwerk/TAX/impl/LosseComponentKorttekstBepaler/FrontLBX/Test.cls.xml =================================================================== diff -u --- vhUnitTest/DOM/PM/Maatwerk/TAX/impl/LosseComponentKorttekstBepaler/FrontLBX/Test.cls.xml (revision 0) +++ vhUnitTest/DOM/PM/Maatwerk/TAX/impl/LosseComponentKorttekstBepaler/FrontLBX/Test.cls.xml (revision 63606) @@ -0,0 +1,45 @@ + + + +vhUnitTest.DOM.PM.Maatwerk.TAX.Base + + +DOM.PM.Maatwerk.TAX.impl.LosseComponentKorttekstBepaler +1 + + + +DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken +1 + + + +aTestName:%String + + + + + + + + +DOM.PM.ProductLangtekst + + + + + + Index: DOM/PM/Maatwerk/TAX/impl/LosseComponentKorttekstBepaler.cls.xml =================================================================== diff -u -r58568 -r63606 --- DOM/PM/Maatwerk/TAX/impl/LosseComponentKorttekstBepaler.cls.xml (.../LosseComponentKorttekstBepaler.cls.xml) (revision 58568) +++ DOM/PM/Maatwerk/TAX/impl/LosseComponentKorttekstBepaler.cls.xml (.../LosseComponentKorttekstBepaler.cls.xml) (revision 63606) @@ -67,7 +67,11 @@ Set $Extract(Korttekst, 3) = $Extract(TAORKenmerken.LadeHoogte) } - Set $Extract(Korttekst, 4) = "." + If (TAORKenmerken.ProductieWijze = ..Enum.ProductieWijze.FrontLBX) { + Set $Extract(Korttekst, 4) = "L" + } Else { + Set $Extract(Korttekst, 4) = "." + } If (##class(TECH.StringUtils).Equals(TAORKenmerken.ProductieWijze, ..Enum.ProductieWijze.ZijkantLinks, ..Enum.ProductieWijze.ZijkantRechts)) { Set $Extract(Korttekst, 5, 7) = TAORKenmerken.LadeDiepte Index: DOM/PM/Maatwerk/TAX/impl/ProductieWijzeNaarLosseComponentConverter.cls.xml =================================================================== diff -u -r30113 -r63606 --- DOM/PM/Maatwerk/TAX/impl/ProductieWijzeNaarLosseComponentConverter.cls.xml (.../ProductieWijzeNaarLosseComponentConverter.cls.xml) (revision 30113) +++ DOM/PM/Maatwerk/TAX/impl/ProductieWijzeNaarLosseComponentConverter.cls.xml (.../ProductieWijzeNaarLosseComponentConverter.cls.xml) (revision 63606) @@ -10,15 +10,20 @@ #dim Resultaat As DOM.PM.enu.TAORProductieWijze = "" #dim Iterator As TECH.ListIterator = ##class(DOM.PM.Maatwerk.Lade.enu.LosseComponent).ValueListIterator() - while (Iterator.HasNext() && $$$Not(Resultaat)) { + //FrontLBX wordt gezien als een exacte kopie van de gewone Front + If (ProductieWijze = ##class(DOM.PM.enu.TAORProductieWijze).FrontLBX()) { + Set ProductieWijze = ##class(DOM.PM.enu.TAORProductieWijze).Front() + } + + While (Iterator.HasNext() && $$$Not(Resultaat)) { #dim LosseComponent As DOM.PM.Maatwerk.Lade.enu.LosseComponent = Iterator.Next() - if (..GeefEersteLetterPerDeel(LosseComponent) = ProductieWijze) { - set Resultaat = LosseComponent + If (..GeefEersteLetterPerDeel(LosseComponent) = ProductieWijze) { + Set Resultaat = LosseComponent } } - quit Resultaat + Quit Resultaat ]]> @@ -30,11 +35,11 @@ #dim StringIterator As TECH.Iterator = ##class(TECH.PiecesIterator).%New(LosseComponent, ".") #dim Resultaat As TECH.String = "" - while (StringIterator.HasNext()) { - set Resultaat = Resultaat _ $extract(StringIterator.Next(), 1) + While (StringIterator.HasNext()) { + Set Resultaat = Resultaat _ $extract(StringIterator.Next(), 1) } - quit Resultaat + Quit Resultaat ]]> Index: vhUnitTest/DOM/PM/impl/TAORLangtekstCreator/FrontLBX/Test.cls.xml =================================================================== diff -u --- vhUnitTest/DOM/PM/impl/TAORLangtekstCreator/FrontLBX/Test.cls.xml (revision 0) +++ vhUnitTest/DOM/PM/impl/TAORLangtekstCreator/FrontLBX/Test.cls.xml (revision 63606) @@ -0,0 +1,56 @@ + + + +vhUnitTest.DOM.PM.Maatwerk.TAX.Base + + +DOM.PM.impl.TAORLangtekstCreator +1 + + + +DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken +1 + + + +DOM.PM.impl.HalffabItemsBoomOnherwerktBepaler +1 + + + +aTestName:%String + + + + + + + + + + + + +DOM.PM.ProductLangtekst + + + + + +