2 Commits

Author SHA1 Message Date
Jonathan Jenne
d5911fa9be ZUGFeRD: Version 2.6.0.1 2023-12-20 15:32:22 +01:00
Jonathan Jenne
476a7c782d Add option to check file age 2023-12-20 15:01:11 +01:00
3 changed files with 12 additions and 3 deletions

View File

@@ -37,6 +37,13 @@
''' </summary>
Public Property MaxAttachmentSizeInMegaBytes As Integer = -1
''' <summary>
''' 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.
''' </summary>
''' <returns></returns>
Public Property MinFileAgeInMinutes As Integer = 5
Public Property AllowFacturX As Boolean = False
Public Property AllowXRechnung As Boolean = False
Public Property AllowZugferd10 As Boolean = True

View File

@@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyCompany("Digital Data")>
<Assembly: AssemblyProduct("DDZUGFeRDService")>
<Assembly: AssemblyCopyright("Copyright © 2023")>
<Assembly: AssemblyTrademark("2.5.4.0")>
<Assembly: AssemblyTrademark("2.6.0.1")>
<Assembly: ComVisible(False)>
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.5.4.0")>
<Assembly: AssemblyFileVersion("2.5.4.0")>
<Assembly: AssemblyVersion("2.6.0.1")>
<Assembly: AssemblyFileVersion("2.6.0.1")>

View File

@@ -45,6 +45,7 @@ Public Class ThreadRunner
.ExceptionEmailAddress = _config.Config.ExceptionEmailAddress,
.IgnoreRejectionStatus = _config.Config.Custom.IgnoreRejectionStatus,
.MaxAttachmentSizeInMegaBytes = _config.Config.Custom.MaxAttachmentSizeInMegaBytes,
.MinFileAgeInMinutes = _config.Config.Custom.MinFileAgeInMinutes,
.NamePortal = _config.Config.PORTAL_NAME,
.EmailOutProfileId = _config.Config.MSSQLEmailOutAccountID,
.AllowFacturX = _config.Config.Custom.AllowFacturX,
@@ -60,6 +61,7 @@ Public Class ThreadRunner
_logger.Debug("ExceptionEmailAddress: [{0}]", oArgs.ExceptionEmailAddress)
_logger.Debug("IgnoreRejectionStatus: [{0}]", oArgs.IgnoreRejectionStatus)
_logger.Debug("MaxAttachmentSizeInMegaBytes: [{0}]", oArgs.MaxAttachmentSizeInMegaBytes)
_logger.Debug("MinFileAgeInMinutes: [{0}]", oArgs.MinFileAgeInMinutes)
_jobArguments = oArgs