From 16c006d1e694e49f6d3a223eefed5b76198bb1fd Mon Sep 17 00:00:00 2001 From: Andreas Luxbauer Date: Tue, 27 Oct 2026 21:22:21 +0100 Subject: [PATCH] EzaDy --- DAKOSY_Worker/cImporter_DakosyToVERAG.vb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DAKOSY_Worker/cImporter_DakosyToVERAG.vb b/DAKOSY_Worker/cImporter_DakosyToVERAG.vb index 0b6d179..806e7a7 100644 --- a/DAKOSY_Worker/cImporter_DakosyToVERAG.vb +++ b/DAKOSY_Worker/cImporter_DakosyToVERAG.vb @@ -379,7 +379,7 @@ Public Class cImporter_DakosyToVERAG ZOLL.LOAD() If Not ZOLL.hasEntry Then - Throw New Exception("Zollanmeldung nicht gefunden. za_Id=" & ZA.za_Id) + cErrorHandler.ERR("UpdateBrokerManagementFileTETRAPAK", "UpdateBrokerManagementFileTETRAPAK", "Zollanmeldung nicht gefunden. za_Id=" & ZA.za_Id) End If Debug.WriteLine(prefix & "ZA-ID: " & ZOLL.za_Id) @@ -474,7 +474,7 @@ Public Class cImporter_DakosyToVERAG Dim nurKopfabgaben As Boolean = (anzahlPositionsabgaben = 0) If nurKopfabgaben AndAlso positionen.Count > 1 AndAlso ZOLL.Duties.Count > 0 Then - Throw New Exception("BrokerManagementFile: Es sind " & positionen.Count & + cErrorHandler.ERR("UpdateBrokerManagementFileTETRAPAK", "BrokerManagementFile", "BrokerManagementFile: Es sind " & positionen.Count & " Warenpositionen vorhanden, aber nur Kopfabgaben gespeichert. " & "Eine eindeutige Verteilung von Zoll/EUSt ist nicht möglich. ZA-ID=" & ZOLL.za_Id) End If @@ -673,7 +673,7 @@ Public Class cImporter_DakosyToVERAG Catch ex As Exception Debug.WriteLine(prefix & "FEHLER: " & ex.ToString()) - Throw + cErrorHandler.ERR(ex.Message, ex.StackTrace, Reflection.MethodInfo.GetCurrentMethod.Name) Finally Debug.WriteLine(prefix & "========== ENDE BrokerManagementFile ==========") End Try