Index: vhTest/Mock/AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml =================================================================== diff -u --- vhTest/Mock/AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml (revision 0) +++ vhTest/Mock/AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml (revision 55267) @@ -0,0 +1,27 @@ + + + + +Deze klasse werd automatisch gegenereerd en onderhouden - lokale aanpassingen zijn niet nodig. +Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt +1 +AXimpl.Dynamics.InventoryOut.Converter.SpaceTowerService,Tools.Mock.MockClassBase +right + + +BouwsteenIteratorFactory:AXimpl.Dynamics.InventoryOut.Converter.BouwsteenIteratorFactory,ProductApi:DOM.PM.ProductAPI="" +%Status + + + + +ProductId:%String +AXimpl.Admin.DOM.PM.BouwsteenIterator + + + + + + Index: AXimpl/Dynamics/InventoryOut/Converter/ReceptieAfmeldenConverter.cls.xml =================================================================== diff -u -r55265 -r55267 --- AXimpl/Dynamics/InventoryOut/Converter/ReceptieAfmeldenConverter.cls.xml (.../ReceptieAfmeldenConverter.cls.xml) (revision 55265) +++ AXimpl/Dynamics/InventoryOut/Converter/ReceptieAfmeldenConverter.cls.xml (.../ReceptieAfmeldenConverter.cls.xml) (revision 55267) @@ -23,27 +23,27 @@ 1 - -DOM.PM.ProductAPI + +DOM.PM.ProductTypeAPI 1 - -DOM.PM.ProductTypeAPI + +AXimpl.Dynamics.InventoryOut.Converter.SpaceTowerService 1 -InventoryOutConverter:AXimpl.Dynamics.InventoryOut.Converter.InventoryOutConverter,BouwsteenIteratorFactory:AXimpl.Dynamics.InventoryOut.Converter.BouwsteenIteratorFactory,ProductApi:DOM.PM.ProductAPI="",ProductTypeApi:DOM.PM.impl.ProductTypeAPIimpl="" +InventoryOutConverter:AXimpl.Dynamics.InventoryOut.Converter.InventoryOutConverter,BouwsteenIteratorFactory:AXimpl.Dynamics.InventoryOut.Converter.BouwsteenIteratorFactory,ProductTypeApi:DOM.PM.impl.ProductTypeAPIimpl="",SpaceTowerService:AXimpl.Dynamics.InventoryOut.Converter.SpaceTowerService="" 1 1 %Status 1 @@ -84,7 +84,7 @@ Do ..AxdEntityHeader.ProdRAF.Insert(ProdRaf) If ..ProductTypeApi.IsSpaceTowerProduct(Request.Message.ProductID) { - Set ..BouwsteenIterator = ..GeefSpaceTowerBouwsteenIterator(Request.Message.ProductID) + Set ..BouwsteenIterator = ..SpaceTowerService.GeefSpaceTowerBouwsteenIterator(Request.Message.ProductID) } Else { Set ..BouwsteenIterator = ..BouwsteenIteratorFactory.Maak(Request.Message.ProductID) } @@ -117,41 +117,6 @@ Quit MessageParts ]]> - - -ProductId:%String -1 -AXimpl.Admin.DOM.PM.BouwsteenIterator - - Index: vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/ReceptieAfmeldenConverter/Convert/Test.cls.xml =================================================================== diff -u -r55058 -r55267 --- vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/ReceptieAfmeldenConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 55058) +++ vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/ReceptieAfmeldenConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 55267) @@ -8,21 +8,6 @@ 1000 - -%String -1001 - - - -%String -1002 - - - -%String -1003 - - %String 1 @@ -58,13 +43,13 @@ 1 - -DOM.PM.ProductAPI + +DOM.PM.ProductTypeAPI 1 - -DOM.PM.ProductTypeAPI + +AXimpl.Dynamics.InventoryOut.Converter.SpaceTowerService 1 @@ -81,8 +66,6 @@ Set ..GUID = "{7E53DAF1-A44A-49C7-B0D2-4534E9158C9A}" Set ..Request = ##class(AXimpl.Request).%New("Inventory/ReceptieAfgemeld", ..UitleveringId, ReceptieAfmeldenInputDto) Set ..RequestInventoryOut = ##class(AXimpl.Request).%New("Inventory/Update", ..#ProductId) - Do ##class(vhTest.Utils.DOM.PM.Product).VerwijderProducten(..#ProductId1, ..#ProductId3) - Do ##class(vhTest.Utils.DOM.PM.Product).CreeerProducten(..#ProductId1, ..#ProductId3) ]]> @@ -94,25 +77,18 @@ Do ##class(vhTest.Fake.TECH.DateTime.DateTimeAPI).Activeer("01.05.2016") Set ..InventoryOutConverterStub = ##class(vhTest.Mock.AXimpl.Dynamics.InventoryOut.Converter.InventoryOutConverter).%New() - Set ..ProductApi = ##class(vhTest.Mock.DOM.PM.ProductAPI).%New() Set ..ProductTypeApi = ##class(vhTest.Mock.DOM.PM.ProductTypeAPI).%New() + Set ..SpaceTowerServiceStub = ##class(vhTest.Mock.AXimpl.Dynamics.InventoryOut.Converter.SpaceTowerService).%New() Set ..Request.Message.AxInventTransId = "AxInventTransId" ]]> - - - - - + -AantalBouwstenenIterators:%Integer,IsCorrectieNodigVanwegeKindBouwstenen:%Integer=0 +AantalBouwstenenIterators:%Integer 1 vhTest.Mock.AXimpl.Dynamics.InventoryOut.Converter.BouwsteenIteratorFactory + +1 +TECH.Iterator + + + AantalProducten:%Integer 1 @@ -240,45 +234,6 @@ Quit ProductApiStub ]]> - - -1 -DOM.PM.Product - - - - -1 -TECH.Iterator - - Index: vhTest/Fake/AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml =================================================================== diff -u --- vhTest/Fake/AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml (revision 0) +++ vhTest/Fake/AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml (revision 55267) @@ -0,0 +1,19 @@ + + + + +Deze klasse werd automatisch gegenereerd en onderhouden, nieuwe methodes worden automatisch bijgevoegd, bestaande blijven zoals ze zijn. +Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt +1 +AXimpl.Dynamics.InventoryOut.Converter.SpaceTowerService + + +ProductId:%String +AXimpl.Admin.DOM.PM.BouwsteenIterator + + + + + + Index: AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml =================================================================== diff -u --- AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml (revision 0) +++ AXimpl/Dynamics/InventoryOut/Converter/SpaceTowerService.cls.xml (revision 55267) @@ -0,0 +1,66 @@ + + + +TECH.Mockable + + +AXimpl.Dynamics.InventoryOut.Converter.BouwsteenIteratorFactory +1 + + + +DOM.PM.ProductAPI +1 + + + +BouwsteenIteratorFactory:AXimpl.Dynamics.InventoryOut.Converter.BouwsteenIteratorFactory,ProductApi:DOM.PM.ProductAPI="" +1 +1 +%Status +1 + + + + +ProductId:%String +AXimpl.Admin.DOM.PM.BouwsteenIterator + + + + + +