Index: vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml =================================================================== diff -u -r45922 -r46288 --- vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml (.../Test.cls.xml) (revision 45922) +++ vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml (.../Test.cls.xml) (revision 46288) @@ -18,6 +18,11 @@ 1 + +AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor +1 + + AX.Uitgaand.PM.VrijgegProduct.impl.VoorraadInstellingCalculator 1 @@ -99,6 +104,29 @@ ]]> + + + + @@ -169,6 +203,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "A" Set AxProduct.Basis.Uitverkoop = "" @@ -197,6 +234,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "A" Set AxProduct.Basis.Uitverkoop = "" @@ -225,6 +265,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "A" Set AxProduct.Basis.Uitverkoop = "" @@ -253,6 +296,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "5" Set AxProduct.Basis.Uitverkoop = "" @@ -280,6 +326,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "0" Set AxProduct.Basis.Uitverkoop = "" @@ -307,6 +356,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "A" Set AxProduct.Basis.Uitverkoop = "" @@ -336,6 +388,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "A" Set AxProduct.Basis.Uitverkoop = "" @@ -365,6 +420,9 @@ #dim Firma As AXimpl.InterneFirmaInitialen = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() + Set ..SoprProductConverter = ##class(vhTest.Mock.AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Do ..SoprProductConverter.IndienMethodCall("IsSOPRInCache",..#ProductId).DanReturn($$$False) + #dim AxProduct As AX.Uitgaand.PM.Product.impl.Product = ..GeefTeConverterenProduct() Set AxProduct.Basis.ScanType = "A" Set AxProduct.Basis.Uitverkoop = "" @@ -443,15 +501,33 @@ ]]> - + + + + + - + - + - + 1 AXimpl.Utils -