Index: vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml
===================================================================
diff -u -r50107 -r50114
--- vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 50107)
+++ vhUnitTest/AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter/Convert/Test.cls.xml (.../Test.cls.xml) (revision 50114)
@@ -807,6 +807,53 @@
]]>
+
+
+
+
1
AXimpl.Dynamics.InventoryOut.Converter.InventoryOutConverter
Index: AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml
===================================================================
diff -u -r50107 -r50114
--- AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml (.../InventoryOutConverter.cls.xml) (revision 50107)
+++ AXimpl/Dynamics/InventoryOut/Converter/InventoryOutConverter.cls.xml (.../InventoryOutConverter.cls.xml) (revision 50114)
@@ -3,6 +3,11 @@
TECH.RegisteredObject,TECH.Mockable
+
+%ListOfDataTypes
+1
+
+
AXimpl.Dynamics.InventoryOut.SyncAll.AxProductFilter
1
@@ -45,6 +50,7 @@
Set ..SoprContractIdConverter = ##class(AX.Uitgaand.PM.impl.Convertor.Sopr.SoprContractIdConverter).%New()
Set ..AxProductFilter = $$$Inject(AxProductFilter, ##class(AXimpl.Dynamics.InventoryOut.SyncAll.AxProductFilter).%New())
Set ..Logger = $$$Inject(Logger,##class(vhLib.Logger).%New())
+ Set ..PRNrAxConfigIdComboLijst = ##class(%ListOfDataTypes).%New()
Quit $$$OK
]]>
@@ -97,8 +103,12 @@
#dim Product As AXimpl.Dynamics.InventoryOut.Converter.dto.AXids = ProductIterator.Next()
Set AangereiktPRNr = Product.ProductId
Set AxConfigId = Product.AxConfigId
- If ((($$$HasLength(AxConfigId)) && (..AxProductFilter.IsValidWithAxConfigId(AangereiktPRNr))) || (($$$Not($$$HasLength(AxConfigId))) && (..AxProductFilter.IsValid(AangereiktPRNr)))) {
+ #dim PRNrAxConfigIdCombo As %String = AangereiktPRNr_"||"_AxConfigId
+ If ($$$Not(##class(TECH.ListUtils).Contains(..PRNrAxConfigIdComboLijst, PRNrAxConfigIdCombo))
+ && ((($$$HasLength(AxConfigId)) && (..AxProductFilter.IsValidWithAxConfigId(AangereiktPRNr)))
+ || (($$$Not($$$HasLength(AxConfigId))) && (..AxProductFilter.IsValid(AangereiktPRNr))))) {
try {
+ Do ..PRNrAxConfigIdComboLijst.Insert(PRNrAxConfigIdCombo)
Set AxMaatwerkGenerischItemId = Product.AxMaatwerkGenerischItemId
Set QtyVH = Product.QtyVH
If $$$Not(..SoprProductConverter.IsSOPRInAX(AangereiktPRNr)){