Neuer Config Schalter RejectionTemplateId

This commit is contained in:
PitzM 2024-04-18 10:18:28 +02:00
parent f3c4df03e1
commit 5596552e3a
2 changed files with 8 additions and 2 deletions

View File

@ -41,9 +41,14 @@
''' Minimum file age. If one file is newer than this, the whole group will be skipped ''' Minimum file age. If one file is newer than this, the whole group will be skipped
''' to ensure that all files of a group have been created. ''' to ensure that all files of a group have been created.
''' </summary> ''' </summary>
''' <returns></returns>
Public Property MinFileAgeInMinutes As Integer = 5 Public Property MinFileAgeInMinutes As Integer = 5
''' <summary>
''' GUID des EMail Templates das bei Ablehnungsmails verwendet wird.
''' Siehe Tabelle DD_ECM.dbo.TBDD_EMAIL_TEMPLATE
''' </summary>
Public Property RejectionTemplateId As Integer = 0
Public Property AllowFacturX As Boolean = False Public Property AllowFacturX As Boolean = False
Public Property AllowXRechnung As Boolean = False Public Property AllowXRechnung As Boolean = False
Public Property AllowZugferd10 As Boolean = True Public Property AllowZugferd10 As Boolean = True

View File

@ -51,7 +51,8 @@ Public Class ThreadRunner
.AllowFacturX = _config.Config.Custom.AllowFacturX, .AllowFacturX = _config.Config.Custom.AllowFacturX,
.AllowXRechnung = _config.Config.Custom.AllowXRechnung, .AllowXRechnung = _config.Config.Custom.AllowXRechnung,
.AllowZugferd10 = _config.Config.Custom.AllowZugferd10, .AllowZugferd10 = _config.Config.Custom.AllowZugferd10,
.AllowZugferd2x = _config.Config.Custom.AllowZugferd2x .AllowZugferd2x = _config.Config.Custom.AllowZugferd2x,
.RejectionTemplateId = _config.Config.Custom.RejectionTemplateId
} }
oArgs = LoadFolderConfig(oArgs) oArgs = LoadFolderConfig(oArgs)