Index: AX/Uitgaand/PM/AankoopOrderHoofding/impl/AankoopOrderHoofdingDixfConverter.cls.xml =================================================================== diff -u -r42720 -r42800 --- AX/Uitgaand/PM/AankoopOrderHoofding/impl/AankoopOrderHoofdingDixfConverter.cls.xml (.../AankoopOrderHoofdingDixfConverter.cls.xml) (revision 42720) +++ AX/Uitgaand/PM/AankoopOrderHoofding/impl/AankoopOrderHoofdingDixfConverter.cls.xml (.../AankoopOrderHoofdingDixfConverter.cls.xml) (revision 42800) @@ -66,14 +66,12 @@ If Vestiging = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { Do ..ConvertVanHoecke(Leverancier,Toelevering) + } ElseIf Vestiging = ##class(AXimpl.InterneFirmaInitialen).HaluxNv() { + Do ..ConvertHalux(Leverancier,Toelevering) } Else { - If Vestiging = ##class(AXimpl.InterneFirmaInitialen).HaluxNv() { - Do ..ConvertHalux(Leverancier,Toelevering) - } - Else { - Do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.IllegalArgumentException).%New("Geef als parameter ofwel VanHoecke, ofwel Halux mee! Huidige parameter = '"_Vestiging_"' <")) - } + Do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.IllegalArgumentException).%New("Geef als parameter ofwel VHBE, ofwel HLX mee! Huidige parameter = '"_Vestiging)) } + Quit ..AxHoofding ]]>