Index: vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml =================================================================== diff -u -r48182 -r48231 --- vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml (.../Test.cls.xml) (revision 48182) +++ vhUnitTest/AXimpl/Utils/ConvertItemBuyerGroupId/Test.cls.xml (.../Test.cls.xml) (revision 48231) @@ -65,7 +65,7 @@ ]]> - + - + - + - + - + - + - - - - - + - + - + @@ -373,7 +342,7 @@ ]]> - + @@ -465,7 +434,7 @@ ]]> - + - + - + - + - + - + - + Index: vhTest/Fake/AXimpl/Utils.cls.xml =================================================================== diff -u -r46453 -r48231 --- vhTest/Fake/AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 46453) +++ vhTest/Fake/AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 48231) @@ -21,6 +21,13 @@ ]]> + +ProductId:%String +%Date + + + Firma:AXimpl.InterneFirmaInitialen,Product:AX.Uitgaand.PM.Product.impl.Product %String Index: AXimpl/Utils.cls.xml =================================================================== diff -u -r48182 -r48231 --- AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 48182) +++ AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 48231) @@ -456,36 +456,36 @@ If Firma = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { #dim PRNr As %String = Product.Basis.ProductNr If ((+Product.Basis.Uitverkoop '= 0) && (StockNietStock = 1)) { - Set ItemBuyerGroupId = "Uitverkoop" + Set ItemBuyerGroupId = "NOKUitverk" } ElseIf (..BestelImpulsRepository.BestaatViaProduct(PRNr)){ - Set ItemBuyerGroupId = "Contract" + Set ItemBuyerGroupId = "NOKContrac" } ElseIf (ScanType = "L") { - Set ItemBuyerGroupId = "Logsteuer" + Set ItemBuyerGroupId = "NOKLogsteu" } ElseIf (..SoprProductConverter.IsSOPRInCache(PRNr)) { - Set ItemBuyerGroupId = "SOPR" + Set ItemBuyerGroupId = "NOKSOPR" } Else{ #dim VoorraadBewegingDatum As %Date = ..GeefVoorraadBewegingDatum(Product.BasisGetObjectId()) If ((VoorraadBewegingDatum > (..DateTimeApi.CurrentDate() - 180)) && (StockNietStock = 1) && $$$Not(LinkType = "S")) { - Set ItemBuyerGroupId = "Nieuw" + Set ItemBuyerGroupId = "NOKNieuw" } ElseIf (((Leverancier = "7580") || (Leverancier = "7560") || (Leverancier = "7551")) && (StockNietStock = 1)){ - Set ItemBuyerGroupId = "Nieuw" + Set ItemBuyerGroupId = "NOKNieuw" } ElseIf (ScanType > 0){ - Set ItemBuyerGroupId = "Limiet" + Set ItemBuyerGroupId = "NOKLimiet" } ElseIf ((StockNietStock = 1) && $$$Not(##class(TECH.StringUtils).Contains(LinkType,"S","HH","HHZ"))){ - Set ItemBuyerGroupId = "Simulatie" + Set ItemBuyerGroupId = "NOKSimulat" }Else{ Set ItemBuyerGroupId = "" } } } ElseIf Firma = ##class(AXimpl.InterneFirmaInitialen).HaluxNv() { If ((Leverancier = "5817") || (Leverancier = "6892") || (Leverancier = "7407") || (Leverancier = "7802")){ - Set ItemBuyerGroupId = "Nieuw" + Set ItemBuyerGroupId = "NOKNieuw" } ElseIf (Leverancier = "7771") { - Set ItemBuyerGroupId = "Uitlopend" + Set ItemBuyerGroupId = "NOKUitlope" } ElseIf ((ScanType > 0) && (LinkType = "HH")){ - Set ItemBuyerGroupId = "Limiet" + Set ItemBuyerGroupId = "NOKLimiet" }ElseIf ((StockNietStock = 1) && (LinkType '= "S")){ - Set ItemBuyerGroupId = "Simulatie" + Set ItemBuyerGroupId = "NOKSimulat" } Else{ Set ItemBuyerGroupId = "" }