Index: vhTest/Mock/AXimpl/Utils.cls.xml =================================================================== diff -u -r42531 -r43143 --- vhTest/Mock/AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 42531) +++ vhTest/Mock/AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 43143) @@ -3,8 +3,7 @@ Deze klasse werd automatisch gegenereerd en onderhouden - lokale aanpassingen zijn niet nodig. -Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt -Inheritance van meerdere TECH.Interface interfaces resulteert nog niet in een mockklasse met overeenkomstige inheritance-structuur. +Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt 1 AXimpl.Utils,Tools.Mock.MockClassBase right Index: AXimpl/Utils.cls.xml =================================================================== diff -u -r42792 -r43143 --- AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 42792) +++ AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 43143) @@ -153,7 +153,7 @@ If Firma = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { #dim PrimaryVendorIdVH As %String = "" If (DefaultOrderType = "Productie") { - Set PrimaryVendorIdVH = "06051" + Set PrimaryVendorIdVH = "06051" } ElseIf ((LinkType = "HH") || (LinkType = "HHZ")) { Set PrimaryVendorIdVH = "06332" @@ -197,10 +197,14 @@ If Firma = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { #dim ReqGroupIdVH As %String = "" #dim DefaultOrderTypeVHBE As %String = ..ConvertDefaultOrderType(Firma,Product) + #dim PrimaryVendorId = ..ConvertPrimaryVendorId(Firma,Product) + #dim SubGroepBevatBROslashTA As %Integer = $Find(SubGroep,"BRO/TA") #dim Groep As %String = Product.Klassificatie.Groep #dim GroepBevatYYY As %Integer = $Find(Groep,"YYY") + #dim GroepBevatDRU As %Integer = $Find(Groep,"DRU") #dim HoofdGroep As %String = Product.Klassificatie.HoofdGroep #dim HoofdGroepBevatZZ As %Integer = $Find(HoofdGroep,"ZZ") + #dim HoofdGroepBevatTA As %Integer = $Find(HoofdGroep,"TA") #dim SubGroepBevatCAT As %Integer = $Find(SubGroep,"CAT") #dim ScanType As %String = Product.Basis.ScanType #dim SubGroepLaatsteDrieKarakters As %String = $Extract(SubGroep,$Length(SubGroep)-2,$Length(SubGroep)) @@ -229,16 +233,20 @@ Set ReqGroupIdVH = "BTO ntBlum" } } ElseIf (StockNietStock = "1") { - If (ScanType > 0) { + If (PrimaryVendorId = "06332") { + Set ReqGroupIdVH = "BTO" + } ElseIf(ScanType > 0) { Set ReqGroupIdVH = "Min/Max" + } ElseIf ((HoofdGroepBevatZZ '= 0) && (GroepBevatYYY '= 0) && (SubGroepBevatCAT '= 0)) { + Set ReqGroupIdVH = "Handmatig" + } ElseIf ((HoofdGroepBevatTA '= 0) && (GroepBevatDRU '= 0) && (SubGroepBevatBROslashTA '= 0)) { + Set ReqGroupIdVH = "Handmatig" } ElseIf (LeverancierNummer = "5005"){ Set ReqGroupIdVH = "Blum"_LeveringsDagen_"d ND" } ElseIf (LeverancierNummer = "5002"){ Set ReqGroupIdVH = "BTS Agofor" } ElseIf (LeverancierNummer = "5938"){ Set ReqGroupIdVH = "BTS Baliko" - } ElseIf ((HoofdGroepBevatZZ '= 0) && (GroepBevatYYY '= 0) && (SubGroepBevatCAT '= 0)) { - Set ReqGroupIdVH = "Handmatig" } ElseIf (LeverancierNummer = "6494"){ Set ReqGroupIdVH = "Handmatig" } ElseIf (LeverancierNummer = "6330"){ Index: vhUnitTest/AXimpl/Utils/ConvertReqGroupId/Test.cls.xml =================================================================== diff -u -r42590 -r43143 --- vhUnitTest/AXimpl/Utils/ConvertReqGroupId/Test.cls.xml (.../Test.cls.xml) (revision 42590) +++ vhUnitTest/AXimpl/Utils/ConvertReqGroupId/Test.cls.xml (.../Test.cls.xml) (revision 43143) @@ -144,7 +144,7 @@ ]]> - + + + + + - + + + + + - + - + - + - + - + - + + + + + 1 AX.Uitgaand.PM.Product.impl.Product