Index: vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml =================================================================== diff -u -r53150 -r54787 --- vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml (.../TestProductGroep.cls.xml) (revision 53150) +++ vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml (.../TestProductGroep.cls.xml) (revision 54787) @@ -92,16 +92,18 @@ 1 APPS.Halux.common.enu.ProductieGroep Index: APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml =================================================================== diff -u -r54152 -r54787 --- APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml (.../ProductieOpstartfaseBepalerTAX.cls.xml) (revision 54152) +++ APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml (.../ProductieOpstartfaseBepalerTAX.cls.xml) (revision 54787) @@ -13,11 +13,8 @@ // Add Opstartfase-condition Quit:(..IsSifonLade(TaxKenmerken)) $$$True + Quit:(..IsFineerOnbehandeld(TaxKenmerken)) $$$True - ;Quit:(..IsAfwijkendeRughoogte(TaxKenmerken)) $$$True ; Opstartfase is voorbij, deze mag weg. - - ;Quit:(..IsLadeMetZijkantLogo(TaxKenmerken)) $$$True - Quit $$$False ]]> @@ -44,6 +41,13 @@ + + +TaxKenmerken:DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken +1 + + Index: APPS/Halux/common/impl/ProductieGroepBepaler.cls.xml =================================================================== diff -u -r30702 -r54787 --- APPS/Halux/common/impl/ProductieGroepBepaler.cls.xml (.../ProductieGroepBepaler.cls.xml) (revision 30702) +++ APPS/Halux/common/impl/ProductieGroepBepaler.cls.xml (.../ProductieGroepBepaler.cls.xml) (revision 54787) @@ -3,26 +3,28 @@ TECH.RegisteredObject - + DOM.PM.ProductTypeAPI 1 +ProductTypeApi:DOM.PM.ProductTypeAPI="" 1 1 %Status 1 -KlantID:DOM.VKP.VanHoeckeKlantID,ProductID:%String +KlantId:DOM.VKP.VanHoeckeKlantID,ProductId:%String APPS.Halux.common.enu.ProductieGroep - Index: APPS/Halux/common/impl/ProductieGroepBepalerKAD.cls.xml =================================================================== diff -u -r30702 -r54787 --- APPS/Halux/common/impl/ProductieGroepBepalerKAD.cls.xml (.../ProductieGroepBepalerKAD.cls.xml) (revision 30702) +++ APPS/Halux/common/impl/ProductieGroepBepalerKAD.cls.xml (.../ProductieGroepBepalerKAD.cls.xml) (revision 54787) @@ -4,15 +4,13 @@ APPS.Halux.common.impl.ProductieGroepBepaler -KlantID:DOM.VKP.VanHoeckeKlantID,ProductID:%String +KlantId:DOM.VKP.VanHoeckeKlantID,ProductId:%String APPS.Halux.common.enu.ProductieGroep Index: APPS/Halux/common/impl/ProductieGroepBepalerLBX.cls.xml =================================================================== diff -u -r51943 -r54787 --- APPS/Halux/common/impl/ProductieGroepBepalerLBX.cls.xml (.../ProductieGroepBepalerLBX.cls.xml) (revision 51943) +++ APPS/Halux/common/impl/ProductieGroepBepalerLBX.cls.xml (.../ProductieGroepBepalerLBX.cls.xml) (revision 54787) @@ -14,34 +14,34 @@ -ProductieOpstartfaseBepaler:APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerLBX="" +ProductTypeApi:DOM.PM.ProductTypeAPI="",ProductieOpstartfaseBepaler:APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerLBX="" 1 1 %Status 1 -KlantID:DOM.VKP.VanHoeckeKlantID,ProductID:%String +KlantId:DOM.VKP.VanHoeckeKlantID,ProductId:%String APPS.Halux.common.enu.ProductieGroep -KlantID:DOM.VKP.VanHoeckeKlantID +KlantId:DOM.VKP.VanHoeckeKlantID 1 %Boolean - Index: APPS/Halux/common/impl/ProductieGroepBepalerTBX.cls.xml =================================================================== diff -u -r41985 -r54787 --- APPS/Halux/common/impl/ProductieGroepBepalerTBX.cls.xml (.../ProductieGroepBepalerTBX.cls.xml) (revision 41985) +++ APPS/Halux/common/impl/ProductieGroepBepalerTBX.cls.xml (.../ProductieGroepBepalerTBX.cls.xml) (revision 54787) @@ -9,29 +9,29 @@ -ProductieOpstartfaseBepaler:APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTBX="" +ProductTypeApi:DOM.PM.ProductTypeAPI="",ProductieOpstartfaseBepaler:APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTBX="" 1 1 %Status 1 -KlantID:DOM.VKP.VanHoeckeKlantID,ProductID:%String +KlantId:DOM.VKP.VanHoeckeKlantID,ProductId:%String APPS.Halux.common.enu.ProductieGroep -ProductID:%String +ProductId:%String 1 %String @@ -100,11 +100,11 @@ -KlantID:%String +KlantId:%String 1 %Boolean Index: APPS/Halux/common/impl/ProductieGroepBepalerTAX.cls.xml =================================================================== diff -u -r54765 -r54787 --- APPS/Halux/common/impl/ProductieGroepBepalerTAX.cls.xml (.../ProductieGroepBepalerTAX.cls.xml) (revision 54765) +++ APPS/Halux/common/impl/ProductieGroepBepalerTAX.cls.xml (.../ProductieGroepBepalerTAX.cls.xml) (revision 54787) @@ -19,26 +19,26 @@ -ProductieOpstartfaseBepaler:APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX="" +ProductTypeApi:DOM.PM.ProductTypeAPI="",ProductieOpstartfaseBepaler:APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX="" 1 1 %Status 1 -KlantID:DOM.VKP.VanHoeckeKlantID,ProductID:%String +KlantId:DOM.VKP.VanHoeckeKlantID,ProductId:%String APPS.Halux.common.enu.ProductieGroep -KlantID:DOM.VKP.VanHoeckeKlantID +KlantId:DOM.VKP.VanHoeckeKlantID 1 %Boolean - Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTAX/GeefProductieGroep/Test.cls.xml =================================================================== diff -u -r54563 -r54787 --- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTAX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 54563) +++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTAX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 54787) @@ -8,138 +8,132 @@ UT_ProductID - -%String -1000 + +APPS.Halux.common.enu.ProductieGroep.AutoComplete 1 -1 - -%String -1 - - + - do ..AssertProductieGroep(..KlantId,IngegevenKenmerken, ##class(APPS.Halux.common.enu.ProductieGroep).SpecialsPM()) + + -KlantId:%String,IngegevenKenmerken:DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken,VerwachteProductieGroep:APPS.Halux.common.enu.ProductieGroep +KlantId:%String,Kenmerken:DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken,IsInOpstartFase:%Boolean,VerwachteProductieGroep:APPS.Halux.common.enu.ProductieGroep 1 Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTBX/GeefProductieGroep/Test.cls.xml =================================================================== diff -u -r41985 -r54787 --- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTBX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 41985) +++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTBX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 54787) @@ -73,11 +73,11 @@ @@ -92,19 +92,14 @@ ]]> - - - - Verpakking:DOM.PM.enu.TBXVerpakking=##class(DOM.PM.enu.TBXVerpakking).StukMetOnderdelen(),OnderdelenSpeciaal:%String="",InbouwBreedte:%Decimal=1324,GeleiderTechnologie:DOM.PM.enu.TBXBlumotion=##class(DOM.PM.enu.TBXBlumotion).Geintegreerd() 1 DOM.PM.TBXProduct.TBXLade TBXLade:DOM.PM.TBXProduct.TBXLade,VerwachteProductieGroep:APPS.Halux.common.enu.ProductieGroep 1 Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX/IsInOpstartfase/Test.cls.xml =================================================================== diff -u -r54152 -r54787 --- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX/IsInOpstartfase/Test.cls.xml (.../Test.cls.xml) (revision 54152) +++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX/IsInOpstartfase/Test.cls.xml (.../Test.cls.xml) (revision 54787) @@ -85,6 +85,18 @@ ]]> + + + + MaatwerkProduct:DOM.PM.MaatwerkProduct,VerwachtInOpstartfase:%Boolean 1 Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerLBX/GeefProductieGroep/Test.cls.xml =================================================================== diff -u -r51945 -r54787 --- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerLBX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 51945) +++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerLBX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 54787) @@ -98,13 +98,12 @@ @@ -113,16 +112,14 @@ #dim FakeKlantID As DOM.VKP.VanHoeckeKlantID = $$$DummyString #dim ProductId As %String = ..#ProductID - #dim ProductTypeAPIMock As vhTest.Mock.DOM.PM.ProductTypeAPI = ##class(vhTest.Mock.DOM.PM.ProductTypeAPI).MockInstance() - Do ProductTypeAPIMock.IndienMethodCall("IsLadeVanSpaceTowerProduct",ProductId).DanReturn($$$False) - Do ProductTypeAPIMock.IndienMethodCall("IsVersienummerPrbsIngevuld", ProductId).DanReturn($$$False) + #dim ProductTypeApiStub As vhTest.Mock.DOM.PM.ProductTypeAPI = ##class(vhTest.Mock.DOM.PM.ProductTypeAPI).%New() + Do ProductTypeApiStub.IndienMethodCall("IsLadeVanSpaceTowerProduct", ProductId).DanReturn($$$False) + Do ProductTypeApiStub.IndienMethodCall("IsVersienummerPrbsIngevuld", ProductId).DanReturn($$$False) - // Act - Set ProductieGroepBepaler = ##class(APPS.Halux.common.impl.ProductieGroepBepalerLBX).%New() + #dim ProductieGroepBepaler As APPS.Halux.common.impl.ProductieGroepBepalerLBX = ##class(APPS.Halux.common.impl.ProductieGroepBepalerLBX).%New(ProductTypeApiStub) #dim ProductieGroep As APPS.Halux.common.enu.ProductieGroep = ProductieGroepBepaler.GeefProductieGroep(FakeKlantID, ProductId) - // Assert - Do $$$AssertEquals(ProductieGroep,##class(APPS.Halux.common.enu.ProductieGroep).SpecialsPM()) + Do $$$AssertEquals(ProductieGroep, ##class(APPS.Halux.common.enu.ProductieGroep).SpecialsPM()) ]]> @@ -139,27 +136,23 @@ IngegevenKenmerken:DOM.PM.Maatwerk.Calc.Common.impl.LBXKenmerken,VerwachteProductieGroep:APPS.Halux.common.enu.ProductieGroep,FakeKlantID:DOM.VKP.VanHoeckeKlantID="",IsOpstartfaseBepalerNodig:%Boolean=1