CBAM/VERAG Zollanmeldungen
This commit is contained in:
@@ -11,7 +11,7 @@ Public Class cImporter_TelotecToVERAG
|
||||
' =====================================================================
|
||||
' MAIN ENTRY
|
||||
' =====================================================================
|
||||
Public Function ImportTelotec(CRN As String, Optional overwrite As Boolean = True, Optional freshInsert As Boolean = True) As Boolean
|
||||
Public Function ImportTelotec(CRN As String, Optional overwrite As Boolean = True, Optional freshInsert As Boolean = False) As Boolean
|
||||
|
||||
If CRN Is Nothing Then Return False
|
||||
If CRN = "" Then Return False
|
||||
@@ -22,7 +22,7 @@ Public Class cImporter_TelotecToVERAG
|
||||
Return False
|
||||
End Function
|
||||
|
||||
Public Function ImportTelotec(tel As cTelotec_Anmeldung, Optional overwrite As Boolean = True, Optional freshinsert As Boolean = True) As Boolean
|
||||
Public Function ImportTelotec(tel As cTelotec_Anmeldung, Optional overwrite As Boolean = True, Optional freshinsert As Boolean = False) As Boolean
|
||||
Try
|
||||
If tel Is Nothing Then Return False
|
||||
If String.IsNullOrWhiteSpace(ToStringSafe(tel.Refs_LRN)) AndAlso
|
||||
@@ -187,8 +187,11 @@ Public Class cImporter_TelotecToVERAG
|
||||
' ================================================================
|
||||
' ================================================================
|
||||
' SAVE
|
||||
Dim saved = ZA.SAVE()
|
||||
' ======KAFKA==========================================================
|
||||
cDakosyEZA_Greenpulse.INSERT_KAFKA(ZA)
|
||||
' ================================================================
|
||||
Return ZA.SAVE()
|
||||
Return saved
|
||||
|
||||
Catch ex As Exception
|
||||
cErrorHandler.ERR(ex.Message, ex.StackTrace, MethodInfo.GetCurrentMethod.Name)
|
||||
|
||||
Reference in New Issue
Block a user