ZUGFeRDService: Add RejectionTransferEnabled option

This commit is contained in:
Jonathan Jenne 2022-09-29 09:10:14 +02:00
parent a40b22d891
commit 59cfbb1984
2 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@
Public Property MaxAttachmentSizeInMegaBytes As Integer = -1
Public Property RejectionTransferEnabled As Boolean = False
Public Property RejectionTransferEnabled As Boolean = True
Public Property RejectionTransferTimeUnit As String = "HOUR"
Public Property RejectionTransferTimeValue As Integer = 12
End Class

View File

@ -184,6 +184,8 @@ Public Class ThreadRunner
Try
If _config.Config.Custom.RejectionTransferEnabled = True Then
MaybeUpdateRejected()
Else
_logger.Debug("Transferring rejection status to Firebird is disabled.")
End If
Dim oArgs As WorkerArgs = e.Argument