Index: EXT/Unishop/PurchaseOrder001/OrderConverter.cls.xml =================================================================== diff -u -r37068 -r37356 --- EXT/Unishop/PurchaseOrder001/OrderConverter.cls.xml (.../OrderConverter.cls.xml) (revision 37068) +++ EXT/Unishop/PurchaseOrder001/OrderConverter.cls.xml (.../OrderConverter.cls.xml) (revision 37356) @@ -40,7 +40,6 @@ Set LijnenIterator = ##class(TECH.ListIterator).%New(ExtOrder.Lijnen) While LijnenIterator.HasNext() { #dim OrderLine As EXT.Unishop.PurchaseOrder001.CreateOrder.OrderLijn = LijnenIterator.Next() - Continue:OrderLine.Product.%Extends("EXT.Unishop.PurchaseOrder001.CreateOrder.VoorgedefinieerdProduct") Do AppsOrder.Lijnen.Insert(..ConverteerLijn(OrderLine)) } Index: APPS/EDI/Bestel/impl/BestelService/UnishopBesteller.cls.xml =================================================================== diff -u -r37337 -r37356 --- APPS/EDI/Bestel/impl/BestelService/UnishopBesteller.cls.xml (.../UnishopBesteller.cls.xml) (revision 37337) +++ APPS/EDI/Bestel/impl/BestelService/UnishopBesteller.cls.xml (.../UnishopBesteller.cls.xml) (revision 37356) @@ -23,6 +23,11 @@ 1 + +APPS.EDI.Bestel.impl.BestelService.UnishopBesteller.ProductRepository +1 + + ExterneVerkoopService:APPS.EC.Verkoop.ExterneVerkoopService,ProductConverter:APPS.EDI.common.impl.ProductConverter,OfferteService:APPS.VKP.OfferteService 1 @@ -33,6 +38,7 @@ Set ..ExterneVerkoopService = $$$Inject(ExterneVerkoopService,##class(APPS.EC.Verkoop.impl.Externe.VerkoopService).%New()) Set ..ProductConverter = $$$Inject(ProductConverter,##class(APPS.EDI.common.impl.ProductConverter).%New()) Set ..OfferteService = $$$Inject(OfferteService, ##class(APPS.ApplicatieContext).Instance().GeefVerkoopAPI().GeefOfferteService()) + Set ..ProductRepository = ##class(APPS.EDI.Bestel.impl.BestelService.UnishopBesteller.ProductRepository).%New() Quit $$$OK ]]> @@ -163,6 +169,13 @@ OfferteID:%String,Lijn:APPS.EDI.common.dto.ProductLijn 1 + Index: vhUnitTest/EXT/Unishop/PurchaseOrder001/OrderConverter/Converteer/Test.cls.xml =================================================================== diff -u -r37331 -r37356 --- vhUnitTest/EXT/Unishop/PurchaseOrder001/OrderConverter/Converteer/Test.cls.xml (.../Test.cls.xml) (revision 37331) +++ vhUnitTest/EXT/Unishop/PurchaseOrder001/OrderConverter/Converteer/Test.cls.xml (.../Test.cls.xml) (revision 37356) @@ -3,7 +3,7 @@ vhUnitTest.TestCase - + - + - + - + - + Offerte:APPS.VKP.Offerte,ProductID:%String,Aantal:%String,PakketReferentie:%String="",ProjectReferentie:%String="" DOM.EC.Winkelkar.ProductLijn