CBAM/VERAG Zollanmeldungen
This commit is contained in:
@@ -13,7 +13,7 @@ Public Class cImporter_DHFToVERAG
|
||||
' =====================================================================
|
||||
' MAIN ENTRY
|
||||
' =====================================================================
|
||||
Public Function ImportEZOLLByLRN(CRN As String, EZOLL_DB As String, Optional overwrite As Boolean = True, Optional freshInsert As Boolean = True) As Boolean
|
||||
Public Function ImportEZOLLByLRN(CRN As String, EZOLL_DB As String, Optional overwrite As Boolean = True, Optional freshInsert As Boolean = False) As Boolean
|
||||
Try
|
||||
If String.IsNullOrWhiteSpace(CRN) Then Return False
|
||||
|
||||
@@ -192,10 +192,12 @@ Public Class cImporter_DHFToVERAG
|
||||
ZA.checkfreshCBAMWarning()
|
||||
End If
|
||||
|
||||
' ---------------------------------------------------------------
|
||||
' SAVE
|
||||
' ---------------------------------------------------------------
|
||||
Return ZA.SAVE()
|
||||
Dim saved = ZA.SAVE()
|
||||
' ======KAFKA==========================================================
|
||||
If freshInsert Then cDakosyEZA_Greenpulse.INSERT_KAFKA(ZA)
|
||||
' ================================================================
|
||||
Return saved
|
||||
|
||||
Catch ex As Exception
|
||||
cErrorHandler.ERR(ex.Message, ex.StackTrace, MethodInfo.GetCurrentMethod.Name)
|
||||
|
||||
Reference in New Issue
Block a user