Index: vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml =================================================================== diff -u -r47642 -r47901 --- vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 47642) +++ vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 47901) @@ -8,6 +8,11 @@ 1 + +DOM.PM.ProductAPI +1 + + AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor 1 @@ -408,7 +413,7 @@ ]]> - + 1 AXimpl.Dynamics.InventoryOut.Converter.InventoryOutConverter - + + +1 +vhTest.Mock.DOM.PM.Product + + Index: AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml =================================================================== diff -u -r47642 -r47901 --- AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml (.../InventoryOutConverter.cls.xml) (revision 47642) +++ AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml (.../InventoryOutConverter.cls.xml) (revision 47901) @@ -13,6 +13,11 @@ 1 + +DOM.PM.ProductAPI +1 + + AX.Uitgaand.PM.impl.Convertor.Sopr.SoprContractIdConverter 1 @@ -24,14 +29,15 @@ -AxInventSyncCreator:AXimpl.Dynamics.InventoryOut.Converter.AxInventSyncCreator,SoprProductConverter:AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor +AxInventSyncCreator:AXimpl.Dynamics.InventoryOut.Converter.AxInventSyncCreator,SoprProductConverter:AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor,ProductApi:DOM.PM.ProductAPI 1 1 %Status 1 @@ -86,7 +92,8 @@ Set AxConfigId = Product.AxConfigId Set GenerischItemId = Product.AxMaatwerkGenerischItemId If ($$$HasLength(AxConfigId) && $$$HasLength(GenerischItemId)) { - Set AangereiktPRNr = GenerischItemId + #dim GenRelevantProduct As DOM.PM.Product = ..ProductApi.GeefProduct(AangereiktPRNr) + Set AangereiktPRNr = GenRelevantProduct.GeefGenerischProductID() } If ('..SoprProductConverter.IsSOPRInAX(AangereiktPRNr)){ If ('..SoprProductConverter.IsSOPRInCache(AangereiktPRNr)){