Index: AXimpl/Utils.cls.xml =================================================================== diff -u -r48569 -r48571 --- AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 48569) +++ AXimpl/Utils.cls.xml (.../Utils.cls.xml) (revision 48571) @@ -208,10 +208,10 @@ Set PrimaryVendorId = ##class(TECH.StringUtils).AddLeadingChar(LeverancierNummer,"0",5) } } ElseIf Firma = ##class(AXimpl.InterneFirmaInitialen).HaluxNv(){ - If ((LinkType '= "HH") && (LinkType '= "HHZ")){ - Set PrimaryVendorId = "05497" - } ElseIf (DefaultOrderType = "Productie"){ + If (DefaultOrderType = "Productie"){ Set PrimaryVendorId = "" + } ElseIf ((LinkType '= "HH") && (LinkType '= "HHZ")){ + Set PrimaryVendorId = "05497" } Else { Set LeverancierNummer = ..ConvertorLeveranciersnummerVanHoeckeNaarHalux.ConvertorLeveranciersnummerVanHoeckeNaarHalux(LeverancierNummer) Set PrimaryVendorId = ##class(TECH.StringUtils).AddLeadingChar(LeverancierNummer,"0",5)