Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTAX/GeefProductieGroep/Test.cls.xml
===================================================================
diff -u -r60179 -r63838
--- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTAX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 60179)
+++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTAX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 63838)
@@ -155,7 +155,7 @@
Do ProductTypeApiMock.VerwachtMethodCall("GeefMaatwerkProduct", ..#ProductID).DanReturn(MaatwerkProductMock)
#dim ProductieOpstartfaseBepalerMock As vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX = ##class(vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX).%New()
- Do ProductieOpstartfaseBepalerMock.IndienMethodCall("IsInOpstartfase", MaatwerkProductMock).DanReturn(IsInOpstartFase)
+ Do ProductieOpstartfaseBepalerMock.IndienMethodCall("IsInOpstartfase", MaatwerkProductMock, $$$ElkeWaarde).DanReturn(IsInOpstartFase)
#dim ProductieGroepBepaler As APPS.Halux.common.impl.ProductieGroepBepalerTAX = ##class(APPS.Halux.common.impl.ProductieGroepBepalerTAX).%New(ProductTypeApiMock, ProductieOpstartfaseBepalerMock)
#dim ProductieGroep As APPS.Halux.common.enu.ProductieGroep = ProductieGroepBepaler.GeefProductieGroep(KlantId, ..#ProductID)
Index: APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml
===================================================================
diff -u -r63836 -r63838
--- APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml (.../ProductieOpstartfaseBepalerTAX.cls.xml) (revision 63836)
+++ APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml (.../ProductieOpstartfaseBepalerTAX.cls.xml) (revision 63838)
@@ -3,28 +3,37 @@
TECH.Mockable,DOM.PM.Maatwerk.TAX.impl.Base
+
+APPS.common.KlantInstellingenService
+1
+
+
+
+KlantInstellingenService:APPS.common.KlantInstellingenService=""
+1
+1
+%Status
+1
+
+
+
-MaatwerkProduct:DOM.PM.MaatwerkProduct
+MaatwerkProduct:DOM.PM.MaatwerkProduct,KlantId:DOM.VKP.VanHoeckeKlantID
%Boolean
-
-
-TaxKenmerken:DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken
-1
-%Boolean
-
-
Index: vhTest/Mock/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml
===================================================================
diff -u -r51005 -r63838
--- vhTest/Mock/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml (.../ProductieOpstartfaseBepalerTAX.cls.xml) (revision 51005)
+++ vhTest/Mock/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX.cls.xml (.../ProductieOpstartfaseBepalerTAX.cls.xml) (revision 63838)
@@ -8,10 +8,17 @@
APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX,Tools.Mock.MockClassBase
right
+
+KlantInstellingenService:APPS.common.KlantInstellingenService=""
+%Status
+
+
+
-MaatwerkProduct:DOM.PM.MaatwerkProduct
+MaatwerkProduct:DOM.PM.MaatwerkProduct,KlantId:DOM.VKP.VanHoeckeKlantID
%Boolean
-
Index: vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml
===================================================================
diff -u -r59115 -r63838
--- vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml (.../TestProductGroep.cls.xml) (revision 59115)
+++ vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml (.../TestProductGroep.cls.xml) (revision 63838)
@@ -101,7 +101,7 @@
Do ProductTypeApiStub.IndienMethodCall("GeefMaatwerkProduct", ProductId).DanReturn(MaatwerkProductStub)
#dim ProductieOpstartfaseBepalerMock As vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX = ##class(vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX).%New()
- Do ProductieOpstartfaseBepalerMock.IndienMethodCall("IsInOpstartfase", MaatwerkProductStub).DanReturn($$$False)
+ Do ProductieOpstartfaseBepalerMock.IndienMethodCall("IsInOpstartfase", MaatwerkProductStub, $$$ElkeWaarde).DanReturn($$$False)
#dim ProductieGroepBepaler As APPS.Halux.common.impl.ProductieGroepBepalerTAX = ##class(APPS.Halux.common.impl.ProductieGroepBepalerTAX).%New(ProductTypeApiStub, ProductieOpstartfaseBepalerMock)
Index: APPS/Halux/common/impl/ProductieGroepBepalerTAX.cls.xml
===================================================================
diff -u -r61484 -r63838
--- APPS/Halux/common/impl/ProductieGroepBepalerTAX.cls.xml (.../ProductieGroepBepalerTAX.cls.xml) (revision 61484)
+++ APPS/Halux/common/impl/ProductieGroepBepalerTAX.cls.xml (.../ProductieGroepBepalerTAX.cls.xml) (revision 63838)
@@ -41,7 +41,7 @@
#dim TaxLade As DOM.PM.MaatwerkProduct = ..ProductTypeApi.GeefMaatwerkProduct(ProductId)
#dim IngegevenKenmerken As DOM.PM.Maatwerk.Calc.Common.impl.TAORKenmerken = TaxLade.GeefIngegevenKenmerken()
- If (..ProductieOpstartfaseBepaler.IsInOpstartfase(TaxLade)) {
+ If (..ProductieOpstartfaseBepaler.IsInOpstartfase(TaxLade, KlantId)) {
Set ..ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).Opstartfase()
} ElseIf (..IsSpecialsKlant(KlantId, IngegevenKenmerken.VerpakkingType, IngegevenKenmerken.GeefVariant())){
Set ..ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).SpecialsKlant()
Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX/IsInOpstartfase/Test.cls.xml
===================================================================
diff -u -r63836 -r63838
--- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX/IsInOpstartfase/Test.cls.xml (.../Test.cls.xml) (revision 63836)
+++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepaler/ProductieOpstartfaseBepalerTAX/IsInOpstartfase/Test.cls.xml (.../Test.cls.xml) (revision 63838)
@@ -8,38 +8,73 @@
UT_ProductID
+
+%String
+K||1000
+
+
+
+APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTAX
+1
+
+
+
+APPS.common.KlantInstellingenService
+1
+
+
+
+
+
+
-
+
+
+
+
+
-MaatwerkProduct:DOM.PM.MaatwerkProduct,VerwachtInOpstartfase:%Boolean
+MaatwerkProduct:DOM.PM.MaatwerkProduct,MagKlantTAORFrontHoogteVerstellingBestellen:%Boolean,VerwachtInOpstartfase:%Boolean
1