cbam importer, sessions, mailsender, etc.
This commit is contained in:
@@ -103,6 +103,8 @@ Public Class cImporter_TelotecToVERAG
|
||||
AddParty(ZA, "EXPORTER", tel.ExpTra_TIN, tel.ExpTra_Na, tel.ExpTra_Strt, tel.ExpTra_Pst, tel.ExpTra_Cty, tel.ExpTra_Ctry, tel.ExpTra_UID)
|
||||
AddParty(ZA, "DECLARANT", tel.Declarant_TIN, tel.Declarant_Na, tel.Declarant_Strt, tel.Declarant_Pst, tel.Declarant_Cty, tel.Declarant_Ctry, tel.Declarant_UID)
|
||||
|
||||
Dim hasValidCBAMDocNr_VERAG As Boolean = False
|
||||
|
||||
' ================================================================
|
||||
' ABGABEN (HEADER)
|
||||
' ================================================================
|
||||
@@ -181,6 +183,12 @@ Public Class cImporter_TelotecToVERAG
|
||||
.zaDoc_Date = Doc_Date
|
||||
}
|
||||
it.Documents.Add(dd)
|
||||
|
||||
'CBAM-CHECK
|
||||
If dd.zaDoc_Code = "Y128" And dd.zaDoc_Reference = "CBAM-AT-2025-TAX29885328923" Then
|
||||
hasValidCBAMDocNr_VERAG = True
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
cErrorHandler.ERR(ex.Message, ex.StackTrace, MethodInfo.GetCurrentMethod.Name)
|
||||
End Try
|
||||
@@ -196,7 +204,7 @@ Public Class cImporter_TelotecToVERAG
|
||||
'CBAM WARNING
|
||||
' ================================================================
|
||||
If freshinsert Then
|
||||
ZA.checkfreshCBAMWarning()
|
||||
ZA.checkfreshCBAMWarning(hasValidCBAMDocNr_VERAG)
|
||||
End If
|
||||
' ================================================================
|
||||
' ================================================================
|
||||
|
||||
Reference in New Issue
Block a user