Add new config options for facturx and xrechnung
This commit is contained in:
parent
33ae746399
commit
1ccd5a4872
@ -34,6 +34,10 @@
|
|||||||
Public Property RejectionTransferEnabled As Boolean = True
|
Public Property RejectionTransferEnabled As Boolean = True
|
||||||
Public Property RejectionTransferTimeUnit As String = "HOUR"
|
Public Property RejectionTransferTimeUnit As String = "HOUR"
|
||||||
Public Property RejectionTransferTimeValue As Integer = 12
|
Public Property RejectionTransferTimeValue As Integer = 12
|
||||||
|
|
||||||
|
Public Property AllowFacturX As Boolean = True
|
||||||
|
Public Property AllowXRechnung As Boolean = True
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
Public Class FirebirdConfig
|
Public Class FirebirdConfig
|
||||||
|
|||||||
@ -50,8 +50,12 @@ Public Class ThreadRunner
|
|||||||
.ExceptionEmailAddress = _config.Config.ExceptionEmailAddress,
|
.ExceptionEmailAddress = _config.Config.ExceptionEmailAddress,
|
||||||
.IgnoreRejectionStatus = _config.Config.Custom.IgnoreRejectionStatus,
|
.IgnoreRejectionStatus = _config.Config.Custom.IgnoreRejectionStatus,
|
||||||
.MaxAttachmentSizeInMegaBytes = _config.Config.Custom.MaxAttachmentSizeInMegaBytes,
|
.MaxAttachmentSizeInMegaBytes = _config.Config.Custom.MaxAttachmentSizeInMegaBytes,
|
||||||
.NamePortal = _config.Config.PORTAL_NAME
|
.NamePortal = _config.Config.PORTAL_NAME,
|
||||||
|
.EmailOutProfileId = _config.Config.MSSQLEmailOutAccountID,
|
||||||
|
.AllowFacturX = _config.Config.Custom.AllowFacturX,
|
||||||
|
.AllowXRechnung = _config.Config.Custom.AllowXRechnung
|
||||||
}
|
}
|
||||||
|
|
||||||
oArgs = LoadFolderConfig(oArgs)
|
oArgs = LoadFolderConfig(oArgs)
|
||||||
oArgs = LoadPropertyMapFor(oArgs, "DEFAULT")
|
oArgs = LoadPropertyMapFor(oArgs, "DEFAULT")
|
||||||
|
|
||||||
@ -191,7 +195,7 @@ Public Class ThreadRunner
|
|||||||
Dim oArgs As WorkerArgs = e.Argument
|
Dim oArgs As WorkerArgs = e.Argument
|
||||||
_logger.Debug("Background worker running..")
|
_logger.Debug("Background worker running..")
|
||||||
|
|
||||||
Dim oJob As New ImportZUGFeRDFiles(_logConfig, _firebird, _config.Config.MSSQLEmailOutAccountID, _config.Config.PORTAL_NAME, _mssql)
|
Dim oJob As New ImportZUGFeRDFiles(_logConfig, _firebird, _mssql)
|
||||||
oJob.Start(oArgs)
|
oJob.Start(oArgs)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
_logger.Warn("Background worker failed!")
|
_logger.Warn("Background worker failed!")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user