Index: vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml =================================================================== diff -u -r46288 -r46426 --- vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml (.../Test.cls.xml) (revision 46288) +++ vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml (.../Test.cls.xml) (revision 46426) @@ -65,46 +65,57 @@ ]]> - + - + - + - + - + Index: AXimpl/Utils.cls.xml =================================================================== diff -u -r46420 -r46426 --- AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 46420) +++ AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 46426) @@ -429,7 +429,9 @@ If Firma = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { #dim PRNr As %String = Product.Basis.ProductNr - If (..BestelImpulsRepository.BestaatViaProduct(PRNr)){ + If ((+Product.Basis.Uitverkoop '= 0) && (StockNietStock = 1)) { + Set ItemBuyerGroupId = "Uitverkoop" + } ElseIf (..BestelImpulsRepository.BestaatViaProduct(PRNr)){ Set ItemBuyerGroupId = "Contract" } ElseIf (ScanType = "L") { Set ItemBuyerGroupId = "Logsteuer" @@ -439,8 +441,6 @@ #dim VoorraadBewegingDatum As %Date = ..GeefVoorraadBewegingDatum(Product.BasisGetObjectId()) If ((VoorraadBewegingDatum > (..DateTimeApi.CurrentDate() - 180)) && (StockNietStock = 1)) { Set ItemBuyerGroupId = "Nieuw" - } ElseIf ((+Product.Basis.Uitverkoop '= 0) && (StockNietStock = 1)) { - Set ItemBuyerGroupId = "Uitverkoop" } ElseIf (((Leverancier = "7580") || (Leverancier = "7560") || (Leverancier = "7551")) && (StockNietStock = 1)){ Set ItemBuyerGroupId = "Nieuw" } ElseIf (ScanType > 0){