Merge branch 'master' of http://dd-vmp07-com04:3000/AppStd/Monorepo
This commit is contained in:
commit
af64dc9651
@ -64,14 +64,29 @@ Public Class Form1
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
Dim oResult = FolderBrowserDialog1.ShowDialog()
|
Dim oInputPath As String = "E:\TestFiles\ZUGFERDService\Input"
|
||||||
|
|
||||||
|
Dim DI As DirectoryInfo = New DirectoryInfo(oInputPath)
|
||||||
|
|
||||||
|
Dim oResult As DialogResult = DialogResult.OK
|
||||||
|
If DI.Exists = False Then
|
||||||
|
' Nur öffnen, wenn Pfad ungültig ist
|
||||||
|
oResult = FolderBrowserDialog1.ShowDialog()
|
||||||
|
oInputPath = FolderBrowserDialog1.SelectedPath
|
||||||
|
End If
|
||||||
|
|
||||||
If oResult = DialogResult.OK Then
|
If oResult = DialogResult.OK Then
|
||||||
Dim args As New WorkerArgs() With {
|
Dim args As New WorkerArgs() With {
|
||||||
.MaxAttachmentSizeInMegaBytes = 10,
|
.MaxAttachmentSizeInMegaBytes = 10,
|
||||||
.IgnoreRejectionStatus = False,
|
.IgnoreRejectionStatus = False,
|
||||||
.NamePortal = "TEST FROM FORM",
|
.NamePortal = "TEST FROM FORM",
|
||||||
.WatchDirectory = FolderBrowserDialog1.SelectedPath
|
.WatchDirectory = oInputPath,
|
||||||
|
.SuccessDirectory = "E:\TestFiles\ZUGFERDService\Result\Success",
|
||||||
|
.ErrorDirectory = "E:\TestFiles\ZUGFERDService\Result\Error",
|
||||||
|
.OriginalEmailDirectory = "E:\TestFiles\ZUGFERDService\Result\Original_eml",
|
||||||
|
.RejectedEmailDirectory = "E:\TestFiles\ZUGFERDService\Result\Rejected_eml",
|
||||||
|
.AttachmentsSubDirectory = "Attachments",
|
||||||
|
.RejectionTemplateId = 1
|
||||||
}
|
}
|
||||||
args = LoadPropertyMapFor(args)
|
args = LoadPropertyMapFor(args)
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -48,25 +48,29 @@
|
|||||||
<OptionInfer>On</OptionInfer>
|
<OptionInfer>On</OptionInfer>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Base, Version=1.3.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Base\DigitalData.Modules.Base.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.3, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Config, Version=1.2.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Config\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Interfaces, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.3.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Database\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Jobs, Version=1.8.6.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Interfaces, Version=1.12.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Interfaces\DigitalData.Modules.Interfaces.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Jobs, Version=2.5.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Jobs\DigitalData.Modules.Jobs.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Logging, Version=2.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Logging\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
|
|||||||
<Assembly: AssemblyCompany("Digital Data")>
|
<Assembly: AssemblyCompany("Digital Data")>
|
||||||
<Assembly: AssemblyProduct("DDZUGFeRDService")>
|
<Assembly: AssemblyProduct("DDZUGFeRDService")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
||||||
<Assembly: AssemblyTrademark("2.6.0.4")>
|
<Assembly: AssemblyTrademark("2.8.2.0")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.6.0.4")>
|
<Assembly: AssemblyVersion("2.8.2.0")>
|
||||||
<Assembly: AssemblyFileVersion("2.6.0.4")>
|
<Assembly: AssemblyFileVersion("2.8.2.0")>
|
||||||
|
|||||||
@ -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)
|
||||||
@ -62,6 +63,7 @@ Public Class ThreadRunner
|
|||||||
_logger.Debug("IgnoreRejectionStatus: [{0}]", oArgs.IgnoreRejectionStatus)
|
_logger.Debug("IgnoreRejectionStatus: [{0}]", oArgs.IgnoreRejectionStatus)
|
||||||
_logger.Debug("MaxAttachmentSizeInMegaBytes: [{0}]", oArgs.MaxAttachmentSizeInMegaBytes)
|
_logger.Debug("MaxAttachmentSizeInMegaBytes: [{0}]", oArgs.MaxAttachmentSizeInMegaBytes)
|
||||||
_logger.Debug("MinFileAgeInMinutes: [{0}]", oArgs.MinFileAgeInMinutes)
|
_logger.Debug("MinFileAgeInMinutes: [{0}]", oArgs.MinFileAgeInMinutes)
|
||||||
|
_logger.Debug("RejectionTemplateId: [{0}]", oArgs.RejectionTemplateId)
|
||||||
|
|
||||||
_jobArguments = oArgs
|
_jobArguments = oArgs
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user