77 lines
2.7 KiB
VB.net
77 lines
2.7 KiB
VB.net
Public Class Config
|
|
Public Property Custom As New CustomConfig
|
|
|
|
Public Property MSSQLConnectionString As String = ""
|
|
|
|
Public Property MSSQLEmailOutAccountID As String = 1
|
|
|
|
Public Property PORTAL_NAME As String = "WISAG-Portal"
|
|
|
|
Public Property JobInterval As Integer = 10
|
|
|
|
Public Property ExceptionEmailAddress As String = "wisag-flow@digitaldata.works"
|
|
|
|
Public Property Debug As Boolean = False
|
|
|
|
Public Property WatchDirectory As String = String.Empty
|
|
|
|
Public Property SuccessDirectory As String = String.Empty
|
|
|
|
Public Property ErrorDirectory As String = String.Empty
|
|
|
|
Public Property OriginalEmailDirectory As String = String.Empty
|
|
|
|
Public Property RejectedEmailDirectory As String = String.Empty
|
|
|
|
Public Property AttachmentsSubDirectory As String = String.Empty
|
|
|
|
Public Property NonZugferdDirectory As String = String.Empty
|
|
|
|
Public Class CustomConfig
|
|
''' <summary>
|
|
''' If the file was already rejected, it is allowed to be processed again,
|
|
''' even if the Checksum exists in the history entries (default case)
|
|
'''
|
|
''' This logic can be overwritten by the IgnoreRejectionStatus parameter.
|
|
''' If it is set to true, the file will be rejected if the file exists in the history entries,
|
|
''' regardless of the REJECTED status.
|
|
''' </summary>
|
|
Public Property IgnoreRejectionStatus As Boolean = False
|
|
|
|
''' <summary>
|
|
''' Maximum Size for attachment files in MB. If This is set to -1,
|
|
''' there's no size limit.
|
|
''' </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>
|
|
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
|
|
|
|
''' <summary>
|
|
''' Enthält die Version des GDPicture Modules,
|
|
''' für das der Lizenzschlüssel aus TBDD_3RD_PARTY_MODULES
|
|
''' gelesen werden soll.
|
|
''' </summary>
|
|
Public Property GDPictureVersion As String = ""
|
|
|
|
Public Property AllowFacturX As Boolean = False
|
|
|
|
Public Property AllowXRechnung As Boolean = False
|
|
|
|
Public Property AllowZugferd10 As Boolean = True
|
|
|
|
Public Property AllowZugferd2x As Boolean = True
|
|
|
|
Public Property AllowPeppolBISBill3x As Boolean = False
|
|
End Class
|
|
End Class
|