Index: AXimpl/Utils.cls.xml =================================================================== diff -u -r46295 -r46302 --- AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 46295) +++ AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 46302) @@ -219,10 +219,10 @@ #dim ReqGroupId As %String = "" #dim LeverancierNummer As %String = Product.Basis.LeverancierNummer #dim StockNietStock As %String = Product.Basis.StockNietStock + #dim PrimaryVendorId = ..ConvertPrimaryVendorId(Firma,Product) If Firma = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { #dim DefaultOrderTypeVHBE As %String = ..ConvertDefaultOrderType(Firma,Product) - #dim PrimaryVendorId = ..ConvertPrimaryVendorId(Firma,Product) #dim SubGroep As %String = Product.Klassificatie.SubGroep #dim SubGroepBevatVPK As %Boolean = ##class(TECH.StringUtils).Contains(SubGroep,"VPK/") #dim SubGroepBevatVPA As %Boolean = ##class(TECH.StringUtils).Contains(SubGroep,"VPA/") @@ -258,7 +258,7 @@ If (LeverancierNummer = "5005"){ Set ReqGroupId = "BTO Blum" } Else { - Set ReqGroupId = "BTO ntBlum" + Set ReqGroupId = "BTO" } } ElseIf (StockNietStock = "1") { If (PrimaryVendorId = "06332") { @@ -301,7 +301,7 @@ Set ReqGroupId = "BTS Devos" } ElseIf (LeverancierNummer = "5026"){ Set ReqGroupId = "BTS Henke" - } ElseIf (LeverancierNummer = "6447"){ + } ElseIf (LeverancierNummer = "8090"){ Set ReqGroupId = "BTS WaseW" } ElseIf (LeverancierNummer = "5490"){ Set ReqGroupId = "BTS Knapp" @@ -334,15 +334,15 @@ #dim DefaultOrderTypeHLX As %String = ..ConvertDefaultOrderType(Firma,Product) Set ReqGroupId = "Handmatig" - If ((Herbestelsurplus = "") && (Herbestelafronding = "") && (LeverancierNummer = "6051")){ + If ((Herbestelsurplus = "") && (Herbestelafronding = "") && (PrimaryVendorId = "05497")){ Set ReqGroupId = "BTO" } ElseIf (DefaultOrderTypeHLX = "Aankooporder"){ If (StockNietStock = "1"){ - If (LeverancierNummer = "5898"){ + If (LeverancierNummer = "7835"){ Set ReqGroupId = "BTS Vallin" }ElseIf (LeverancierNummer = "6628"){ Set ReqGroupId = "BTS Stylin" - }ElseIf (LeverancierNummer = "5921"){ + }ElseIf (LeverancierNummer = "7407"){ Set ReqGroupId = "BTS Decosp" }ElseIf (LeverancierNummer = "7802"){ Set ReqGroupId = "BTS Egger" @@ -358,9 +358,9 @@ Set ReqGroupId = "BTS Beneen" }ElseIf (LeverancierNummer = "6892"){ Set ReqGroupId = "BTS AngstP" - } - } ElseIf ((Herbestelsurplus '= "") && (Herbestelafronding '= "")){ - Set ReqGroupId = "BTS-IC" + }ElseIf ((Herbestelsurplus '= "") && (Herbestelafronding '= "")){ + Set ReqGroupId = "BTS-IC" + } } } } Else { Index: vhUnitTest/AXimpl/Utils/ConvertReqGroupId/Test.cls.xml =================================================================== diff -u -r46275 -r46302 --- vhUnitTest/AXimpl/Utils/ConvertReqGroupId/Test.cls.xml (.../Test.cls.xml) (revision 46275) +++ vhUnitTest/AXimpl/Utils/ConvertReqGroupId/Test.cls.xml (.../Test.cls.xml) (revision 46302) @@ -123,7 +123,7 @@ ]]> - + @@ -607,7 +607,7 @@ - +