Compare commits
10 Commits
4fdab8d417
...
9c4a7057e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c4a7057e5 | ||
|
|
48274219c9 | ||
| b77e7b0563 | |||
| 43e0c8c565 | |||
| 00aeb52cdd | |||
|
|
5001002ab8 | ||
|
|
8918b543de | ||
| 8cef48ea8e | |||
| dfb01f7719 | |||
| a4eec2896e |
@@ -161,6 +161,26 @@
|
|||||||
NC42LTAuOCw2LjUtMi4xbDcuOSw3LjljMC4zLDAuMywwLjksMC4zLDEuMiwwbDEuMi0xLjJDMzAuMSwy
|
NC42LTAuOCw2LjUtMi4xbDcuOSw3LjljMC4zLDAuMywwLjksMC4zLDEuMiwwbDEuMi0xLjJDMzAuMSwy
|
||||||
OC4yLDMwLjEsMjcuNiwyOS43LDI3LjN6IE00LDEzYzAtNSw0LTksOS05YzUsMCw5LDQsOSw5ICAgcy00
|
OC4yLDMwLjEsMjcuNiwyOS43LDI3LjN6IE00LDEzYzAtNSw0LTksOS05YzUsMCw5LDQsOSw5ICAgcy00
|
||||||
LDktOSw5QzgsMjIsNCwxOCw0LDEzeiIgY2xhc3M9IkJsYWNrIiAvPg0KICA8L2c+DQo8L3N2Zz4L
|
LDktOSw5QzgsMjIsNCwxOCw0LDEzeiIgY2xhc3M9IkJsYWNrIiAvPg0KICA8L2c+DQo8L3N2Zz4L
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="btnSearch2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIxLjIsIFZlcnNpb249MjEuMi40
|
||||||
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
|
dkV4cHJlc3MuVXRpbHMuU3Z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sN2MwLDMuOS0zLjEsNy03LDdTNiwxNi45LDYsMTN6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4N
|
||||||
|
Cjwvc3ZnPgs=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btnPrevHighlight.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btnPrevHighlight.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
@@ -223,26 +243,6 @@
|
|||||||
ICAgYzAuOS0zLDMuNy01LDctNXM2LjEsMiw3LDVDMjkuMSwyNiwyNi4zLDI4LDIzLDI4eiBNMjMsMjZj
|
ICAgYzAuOS0zLDMuNy01LDctNXM2LjEsMiw3LDVDMjkuMSwyNiwyNi4zLDI4LDIzLDI4eiBNMjMsMjZj
|
||||||
LTEuNywwLTMtMS4zLTMtM3MxLjMtMywzLTNzMywxLjMsMywzUzI0LjcsMjYsMjMsMjZ6IiBjbGFzcz0i
|
LTEuNywwLTMtMS4zLTMtM3MxLjMtMywzLTNzMywxLjMsMywzUzI0LjcsMjYsMjMsMjZ6IiBjbGFzcz0i
|
||||||
QmxhY2siIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
QmxhY2siIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnSearch2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIxLjIsIFZlcnNpb249MjEuMi40
|
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3N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jcsMjUuM3ogTTYsMTNjMC0zLjksMy4xLTcsNy03czcsMy4x
|
|
||||||
LDcsN2MwLDMuOS0zLjEsNy03LDdTNiwxNi45LDYsMTN6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4N
|
|
||||||
Cjwvc3ZnPgs=
|
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="PrintDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="PrintDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ Public Class DocumentViewer
|
|||||||
Private Sub DocumentViewer_Load(sender As Object, e As EventArgs) Handles Me.Load
|
Private Sub DocumentViewer_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||||
UpdateMainUi()
|
UpdateMainUi()
|
||||||
End Sub
|
End Sub
|
||||||
|
'hallo
|
||||||
Public Class ToolbarSettings
|
Public Class ToolbarSettings
|
||||||
Public Property ShowPrintButton As Boolean = True
|
Public Property ShowPrintButton As Boolean = True
|
||||||
Public Property ShowFitWidthButton As Boolean = True
|
Public Property ShowFitWidthButton As Boolean = True
|
||||||
@@ -89,9 +89,14 @@ Public Class DocumentViewer
|
|||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="pLogConfig">A LogConfig object</param>
|
''' <param name="pLogConfig">A LogConfig object</param>
|
||||||
''' <param name="pLicenseKey">The GDPicture.NET License Key</param>
|
''' <param name="pLicenseKey">The GDPicture.NET License Key</param>
|
||||||
Public Function Init(pLogConfig As LogConfig, pLicenseKey As String, pToolbarSettings As ToolbarSettings) As Boolean
|
Public Function Init(pLogConfig As LogConfig, pLicenseKey As String, Optional pToolbarSettings As ToolbarSettings = Nothing) As Boolean
|
||||||
_logConfig = pLogConfig
|
_logConfig = pLogConfig
|
||||||
_logger = pLogConfig.GetLogger()
|
_logger = pLogConfig.GetLogger()
|
||||||
|
|
||||||
|
If pToolbarSettings Is Nothing Then
|
||||||
|
pToolbarSettings = New ToolbarSettings
|
||||||
|
End If
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
|
||||||
_email = New Email2(pLogConfig)
|
_email = New Email2(pLogConfig)
|
||||||
@@ -114,10 +119,6 @@ Public Class DocumentViewer
|
|||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
'Public Function Init(pLogConfig As LogConfig, pLicenseKey As String, pToolbarSettings As ToolbarSettings) As Boolean
|
|
||||||
' Return Init(pLogConfig, pLicenseKey, New ToolbarSettings())
|
|
||||||
'End Function
|
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Load a file from a path and display it
|
''' Load a file from a path and display it
|
||||||
''' </summary>
|
''' </summary>
|
||||||
|
|||||||
@@ -78,17 +78,21 @@
|
|||||||
<Reference Include="DevExpress.XtraRichEdit.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraRichEdit.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.XtraSpreadsheet.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraSpreadsheet.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DigitalData.Modules.Base">
|
<Reference Include="DigitalData.Modules.Base, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\Modules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Config">
|
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Messaging">
|
<Reference Include="DigitalData.Modules.Messaging, Version=1.7.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\DDModules\Messaging\bin\Debug\DigitalData.Modules.Messaging.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\Modules\Messaging\bin\Debug\DigitalData.Modules.Messaging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
Imports System.IO
|
Imports System.Globalization
|
||||||
|
Imports System.IO
|
||||||
Imports System.Security.Cryptography
|
Imports System.Security.Cryptography
|
||||||
Imports DigitalData.Modules.Config
|
Imports DigitalData.Modules.Config
|
||||||
Imports DigitalData.Modules.Database
|
Imports DigitalData.Modules.Database
|
||||||
@@ -191,7 +192,11 @@ Public Class Form1
|
|||||||
|
|
||||||
WriteLog("Valid Properties: [{0}]", oResult2.ValidProperties.Count)
|
WriteLog("Valid Properties: [{0}]", oResult2.ValidProperties.Count)
|
||||||
For Each Prop In oResult2.ValidProperties
|
For Each Prop In oResult2.ValidProperties
|
||||||
|
If Prop.Value.Length > 250 Then
|
||||||
|
WriteLog("Property: [{0}] = [{1}]", Prop.Description, Prop.Value.Substring(0, 250))
|
||||||
|
Else
|
||||||
WriteLog("Property: [{0}] = [{1}]", Prop.Description, Prop.Value)
|
WriteLog("Property: [{0}] = [{1}]", Prop.Description, Prop.Value)
|
||||||
|
End If
|
||||||
Next
|
Next
|
||||||
|
|
||||||
WriteLog("Missing Properties: [{0}]", oResult2.MissingProperties.Count)
|
WriteLog("Missing Properties: [{0}]", oResult2.MissingProperties.Count)
|
||||||
|
|||||||
@@ -53,25 +53,20 @@
|
|||||||
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\BouncyCastle.Cryptography.2.5.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
<HintPath>..\packages\BouncyCastle.Cryptography.2.5.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Config, Version=1.2.2.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Config">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.3.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Interfaces, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Interfaces">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
||||||
<HintPath>..\..\Modules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Jobs, Version=1.8.6.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Jobs">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
||||||
<HintPath>..\..\Modules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
||||||
@@ -295,7 +290,7 @@
|
|||||||
<Import Project="..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets" Condition="Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" />
|
<Import Project="..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets" Condition="Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" />
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Error Condition="!Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets'))" />
|
<Error Condition="!Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|||||||
@@ -275,10 +275,10 @@ Public Class EmailService
|
|||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function SendEmailFrom(pDatabase As DatabaseType, pMSSQLInstance As MSSQLServer)
|
Private Function SendEmailFrom(Database As DatabaseType, MSSQLInstance As MSSQLServer)
|
||||||
Try
|
Try
|
||||||
Dim oSQL As String = String.Empty
|
Dim oSQL As String = String.Empty
|
||||||
Dim oEmailAccounts As List(Of EmailAccount) = GetAccounts(pDatabase, pMSSQLInstance)
|
Dim oEmailAccounts As List(Of EmailAccount) = GetAccounts(Database, MSSQLInstance)
|
||||||
Dim oEmailQueue As DataTable = Nothing
|
Dim oEmailQueue As DataTable = Nothing
|
||||||
|
|
||||||
If IsNothing(oEmailAccounts) Then
|
If IsNothing(oEmailAccounts) Then
|
||||||
@@ -291,7 +291,7 @@ Public Class EmailService
|
|||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Select Case pDatabase
|
Select Case Database
|
||||||
Case DatabaseType.Firebird
|
Case DatabaseType.Firebird
|
||||||
oSQL = "SELECT * FROM TBEDM_EMAIL_QUEUE WHERE EMAIL_SENT IS NULL and EMAIL_TO <> ''"
|
oSQL = "SELECT * FROM TBEDM_EMAIL_QUEUE WHERE EMAIL_SENT IS NULL and EMAIL_TO <> ''"
|
||||||
oEmailQueue = _Firebird.GetDatatable(oSQL)
|
oEmailQueue = _Firebird.GetDatatable(oSQL)
|
||||||
@@ -300,10 +300,10 @@ Public Class EmailService
|
|||||||
_Logger.Debug("My.Settings.MSSQL_SELECT will be used..")
|
_Logger.Debug("My.Settings.MSSQL_SELECT will be used..")
|
||||||
oSQL = My.Settings.MSSQL_SELECT
|
oSQL = My.Settings.MSSQL_SELECT
|
||||||
Else
|
Else
|
||||||
oSQL = "SELECT * FROM TBEMLP_EMAIL_OUT WHERE EMAIL_SENT IS NULL and EMAIL_ADRESS <> '' ORDER BY GUID"
|
oSQL = "SELECT * FROM TBEMLP_EMAIL_OUT WHERE EMAIL_SENT IS NULL and EMAIL_ADRESS <> ''"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
oEmailQueue = pMSSQLInstance.GetDatatable(oSQL)
|
oEmailQueue = MSSQLInstance.GetDatatable(oSQL)
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
If IsNothing(oEmailQueue) Then
|
If IsNothing(oEmailQueue) Then
|
||||||
@@ -326,7 +326,7 @@ Public Class EmailService
|
|||||||
|
|
||||||
Dim oAccountQueue As DataRow()
|
Dim oAccountQueue As DataRow()
|
||||||
|
|
||||||
Select Case pDatabase
|
Select Case Database
|
||||||
Case DatabaseType.Firebird
|
Case DatabaseType.Firebird
|
||||||
oAccountQueue = oEmailQueue.Select($"EMAIL_ACCOUNT_ID = {oAccount.Guid}", "GUID ASC")
|
oAccountQueue = oEmailQueue.Select($"EMAIL_ACCOUNT_ID = {oAccount.Guid}", "GUID ASC")
|
||||||
Case Else
|
Case Else
|
||||||
@@ -339,7 +339,7 @@ Public Class EmailService
|
|||||||
Continue For
|
Continue For
|
||||||
End If
|
End If
|
||||||
|
|
||||||
_Logger.Info("Preparing to send [{0}] mails for Email-Account [{1}]", oAccountQueue.Count, oAccount.Guid)
|
_Logger.Debug("Preparing to send [{0}] mails..", oAccountQueue.Count)
|
||||||
|
|
||||||
' ======= Initialize Sender =======
|
' ======= Initialize Sender =======
|
||||||
|
|
||||||
@@ -379,7 +379,7 @@ Public Class EmailService
|
|||||||
Dim ATT1_RELATED_ID = String.Empty
|
Dim ATT1_RELATED_ID = String.Empty
|
||||||
Dim ATT1_REL_TYPE = String.Empty
|
Dim ATT1_REL_TYPE = String.Empty
|
||||||
|
|
||||||
Select Case pDatabase
|
Select Case Database
|
||||||
Case DatabaseType.Firebird
|
Case DatabaseType.Firebird
|
||||||
oGuid = oRow.Item("GUID")
|
oGuid = oRow.Item("GUID")
|
||||||
|
|
||||||
@@ -421,7 +421,7 @@ Public Class EmailService
|
|||||||
If ATT1_RELATED_ID <> String.Empty And ATT1_REL_TYPE <> String.Empty Then
|
If ATT1_RELATED_ID <> String.Empty And ATT1_REL_TYPE <> String.Empty Then
|
||||||
_Logger.Info($"Attachment via byte/ID [{ATT1_RELATED_ID}]...")
|
_Logger.Info($"Attachment via byte/ID [{ATT1_RELATED_ID}]...")
|
||||||
If ATT1_REL_TYPE = "EnvelopeResult" Then
|
If ATT1_REL_TYPE = "EnvelopeResult" Then
|
||||||
GetEnvelope_Result_FileStreamByte(ATT1_RELATED_ID, pMSSQLInstance)
|
GetEnvelope_Result_FileStreamByte(ATT1_RELATED_ID, MSSQLInstance)
|
||||||
End If
|
End If
|
||||||
If IsNothing(_AttachmentByteData) = False Then
|
If IsNothing(_AttachmentByteData) = False Then
|
||||||
Dim oTempFolder = _TempFiles.TempPath
|
Dim oTempFolder = _TempFiles.TempPath
|
||||||
@@ -455,13 +455,13 @@ Public Class EmailService
|
|||||||
oTotalSent.Add(oEmailTo)
|
oTotalSent.Add(oEmailTo)
|
||||||
oSuccessfulSent.Add(oEmailTo)
|
oSuccessfulSent.Add(oEmailTo)
|
||||||
|
|
||||||
Select Case pDatabase
|
Select Case Database
|
||||||
Case DatabaseType.Firebird
|
Case DatabaseType.Firebird
|
||||||
oSQL = GetFirebirdUpdateString(oComment, oGuid)
|
oSQL = GetFirebirdUpdateString(oComment, oGuid)
|
||||||
_Firebird.ExecuteNonQuery(oSQL)
|
_Firebird.ExecuteNonQuery(oSQL)
|
||||||
Case DatabaseType.MSSQL
|
Case DatabaseType.MSSQL
|
||||||
oSQL = GetSQLUpdateString(oComment, oGuid)
|
oSQL = GetSQLUpdateString(oComment, oGuid)
|
||||||
pMSSQLInstance.ExecuteNonQuery(oSQL)
|
MSSQLInstance.ExecuteNonQuery(oSQL)
|
||||||
End Select
|
End Select
|
||||||
_Logger.Info($"EmailID [{oGuid.ToString}] has been send to: {oEmailTo}")
|
_Logger.Info($"EmailID [{oGuid.ToString}] has been send to: {oEmailTo}")
|
||||||
|
|
||||||
@@ -469,7 +469,7 @@ Public Class EmailService
|
|||||||
oTotalSent.Add(oEmailTo)
|
oTotalSent.Add(oEmailTo)
|
||||||
oFailedSent.Add(oEmailTo)
|
oFailedSent.Add(oEmailTo)
|
||||||
|
|
||||||
Select Case pDatabase
|
Select Case Database
|
||||||
Case DatabaseType.MSSQL
|
Case DatabaseType.MSSQL
|
||||||
Dim oErrorMessage As String
|
Dim oErrorMessage As String
|
||||||
If String.IsNullOrEmpty(_limilab.ErrorMessage) = False Then
|
If String.IsNullOrEmpty(_limilab.ErrorMessage) = False Then
|
||||||
@@ -478,7 +478,7 @@ Public Class EmailService
|
|||||||
oErrorMessage = $"Could not sent email to email adress. Check log!"
|
oErrorMessage = $"Could not sent email to email adress. Check log!"
|
||||||
End If
|
End If
|
||||||
oSQL = $"UPDATE TBEMLP_EMAIL_OUT SET EMAIL_SENT = GETDATE(), ERROR_TIMESTAMP = GETDATE(), ERROR_MSG = '{oErrorMessage}' WHERE GUID = {oGuid} "
|
oSQL = $"UPDATE TBEMLP_EMAIL_OUT SET EMAIL_SENT = GETDATE(), ERROR_TIMESTAMP = GETDATE(), ERROR_MSG = '{oErrorMessage}' WHERE GUID = {oGuid} "
|
||||||
pMSSQLInstance.ExecuteNonQuery(oSQL)
|
MSSQLInstance.ExecuteNonQuery(oSQL)
|
||||||
|
|
||||||
End Select
|
End Select
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -32,4 +32,4 @@ Imports System.Runtime.InteropServices
|
|||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.7.3.0")>
|
<Assembly: AssemblyVersion("1.7.3.0")>
|
||||||
<Assembly: AssemblyFileVersion("1.7.3.0")>
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
|
|||||||
@@ -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 © 2025")>
|
<Assembly: AssemblyCopyright("Copyright © 2025")>
|
||||||
<Assembly: AssemblyTrademark("2.8.9.0")>
|
<Assembly: AssemblyTrademark("2.9.0.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.8.9.0")>
|
<Assembly: AssemblyVersion("2.9.0.0")>
|
||||||
<Assembly: AssemblyFileVersion("2.8.9.0")>
|
<Assembly: AssemblyFileVersion("2.9.0.0")>
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
AllowXRechnung_Filename = _AllowXRechnung,
|
AllowXRechnung_Filename = _AllowXRechnung,
|
||||||
AllowZugferd_1_0_Schema = _AllowZugferd10,
|
AllowZugferd_1_0_Schema = _AllowZugferd10,
|
||||||
AllowZugferd_2_x_Schema = _AllowZugferd2x,
|
AllowZugferd_2_x_Schema = _AllowZugferd2x,
|
||||||
AllowPeppol_3017_Schema = _AllowPeppolBISBill3x
|
AllowPeppol_3_x_Schema = _AllowPeppolBISBill3x
|
||||||
});
|
});
|
||||||
_props = new PropertyValues(_logConfig);
|
_props = new PropertyValues(_logConfig);
|
||||||
|
|
||||||
@@ -86,6 +86,12 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
Concat(_propertyMap).
|
Concat(_propertyMap).
|
||||||
ToDictionary(kv => kv.Key, kv => kv.Value);
|
ToDictionary(kv => kv.Key, kv => kv.Value);
|
||||||
|
|
||||||
|
if (_AllowPeppolBISBill3x == true)
|
||||||
|
_propertyMap = oPropertyMap.
|
||||||
|
Where(kv => kv.Value.Specification == UBL_SPEC_21).
|
||||||
|
Concat(_propertyMap).
|
||||||
|
ToDictionary(kv => kv.Key, kv => kv.Value);
|
||||||
|
|
||||||
_logger.Debug("Property Map filtered: [{0}] entries found.", _propertyMap.Count);
|
_logger.Debug("Property Map filtered: [{0}] entries found.", _propertyMap.Count);
|
||||||
|
|
||||||
_logger.Debug("Validation Controller initialized!");
|
_logger.Debug("Validation Controller initialized!");
|
||||||
@@ -375,6 +381,12 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (pProperty.ItemType == 3)
|
||||||
|
{
|
||||||
|
// Wir speichern keine Attachment-Werte in die DB
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
var oSql = $"INSERT INTO {pProperty.TableName} " +
|
var oSql = $"INSERT INTO {pProperty.TableName} " +
|
||||||
"(REFERENCE_GUID, ITEM_DESCRIPTION, ITEM_VALUE, CREATEDWHO, SPEC_NAME, GROUP_COUNTER, IS_REQUIRED) VALUES " +
|
"(REFERENCE_GUID, ITEM_DESCRIPTION, ITEM_VALUE, CREATEDWHO, SPEC_NAME, GROUP_COUNTER, IS_REQUIRED) VALUES " +
|
||||||
"(@REFERENCE_GUID, @ITEM_DESCRIPTION, @ITEM_VALUE, @CREATEDWHO, @SPEC_NAME, @GROUP_COUNTER, @IS_REQUIRED)";
|
"(@REFERENCE_GUID, @ITEM_DESCRIPTION, @ITEM_VALUE, @CREATEDWHO, @SPEC_NAME, @GROUP_COUNTER, @IS_REQUIRED)";
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ using Microsoft.Extensions.Configuration;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using DigitalData.Modules.Logging;
|
using DigitalData.Modules.Logging;
|
||||||
using DigitalData.Modules.Interfaces.Peppol.BISBilling30CreditNote;
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ZUGFeRDRESTService
|
namespace ZUGFeRDRESTService
|
||||||
|
|||||||
Reference in New Issue
Block a user