Index: vhTest/Fake/AXimpl/Dynamics/InventoryOut/SyncAll/AxProductFilter.cls.xml
===================================================================
diff -u -r49451 -r50107
--- vhTest/Fake/AXimpl/Dynamics/InventoryOut/SyncAll/AxProductFilter.cls.xml (.../AxProductFilter.cls.xml) (revision 49451)
+++ vhTest/Fake/AXimpl/Dynamics/InventoryOut/SyncAll/AxProductFilter.cls.xml (.../AxProductFilter.cls.xml) (revision 50107)
@@ -13,6 +13,13 @@
+
+
+Item:%String
+%Boolean
+
+
Index: AXimpl/common/AxProductValidator.cls.xml
===================================================================
diff -u -r49332 -r50107
--- AXimpl/common/AxProductValidator.cls.xml (.../AxProductValidator.cls.xml) (revision 49332)
+++ AXimpl/common/AxProductValidator.cls.xml (.../AxProductValidator.cls.xml) (revision 50107)
@@ -45,6 +45,25 @@
Quit IsValid
]]>
+
+
+ProductNummer:%String
+%Boolean
+
+
Index: AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml
===================================================================
diff -u -r49451 -r50107
--- AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml (.../InventoryOutConverter.cls.xml) (revision 49451)
+++ AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml (.../InventoryOutConverter.cls.xml) (revision 50107)
@@ -96,9 +96,9 @@
#dim AangereiktPRNr, PrincipaalSoprPRNr, AxConfigId, AxMaatwerkGenerischItemId, QtyVH As %String = ""
#dim Product As AXimpl.Dynamics.InventoryOut.Converter.dto.AXids = ProductIterator.Next()
Set AangereiktPRNr = Product.ProductId
- If ..AxProductFilter.IsValid(AangereiktPRNr) {
+ Set AxConfigId = Product.AxConfigId
+ If ((($$$HasLength(AxConfigId)) && (..AxProductFilter.IsValidWithAxConfigId(AangereiktPRNr))) || (($$$Not($$$HasLength(AxConfigId))) && (..AxProductFilter.IsValid(AangereiktPRNr)))) {
try {
- Set AxConfigId = Product.AxConfigId
Set AxMaatwerkGenerischItemId = Product.AxMaatwerkGenerischItemId
Set QtyVH = Product.QtyVH
If $$$Not(..SoprProductConverter.IsSOPRInAX(AangereiktPRNr)){
Index: vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml
===================================================================
diff -u -r50079 -r50107
--- vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 50079)
+++ vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 50107)
@@ -37,8 +37,13 @@
Do ..AxProductFilter.IndienMethodCall("IsValid","10").DanReturn($$$True)
Do ..AxProductFilter.IndienMethodCall("IsValid","20").DanReturn($$$True)
Do ..AxProductFilter.IndienMethodCall("IsValid","30").DanReturn($$$True)
+ Do ..AxProductFilter.IndienMethodCall("IsValidWithAxConfigId","10").DanReturn($$$True)
+ Do ..AxProductFilter.IndienMethodCall("IsValidWithAxConfigId","20").DanReturn($$$True)
+ Do ..AxProductFilter.IndienMethodCall("IsValidWithAxConfigId","30").DanReturn($$$True)
Do ..AxProductFilter.IndienMethodCall("IsValid","101").DanReturn($$$True)
Do ..AxProductFilter.IndienMethodCall("IsValid","201").DanReturn($$$True)
+ Do ..AxProductFilter.IndienMethodCall("IsValidWithAxConfigId","101").DanReturn($$$True)
+ Do ..AxProductFilter.IndienMethodCall("IsValidWithAxConfigId","201").DanReturn($$$True)
]]>
@@ -107,6 +112,49 @@
]]>
+
+
+
+
+
+
+Item:%String
+%Boolean
+
+
Index: vhTest/Mock/AXimpl/Dynamics/InventoryOut/SyncAll/AxProductFilter.cls.xml
===================================================================
diff -u -r49451 -r50107
--- vhTest/Mock/AXimpl/Dynamics/InventoryOut/SyncAll/AxProductFilter.cls.xml (.../AxProductFilter.cls.xml) (revision 49451)
+++ vhTest/Mock/AXimpl/Dynamics/InventoryOut/SyncAll/AxProductFilter.cls.xml (.../AxProductFilter.cls.xml) (revision 50107)
@@ -14,6 +14,13 @@
+
+
+Item:%String
+%Boolean
+
+