Compare commits

...

3 Commits

4 changed files with 39 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyCompany("Digital Data")>
<Assembly: AssemblyProduct("Modules.Interfaces")>
<Assembly: AssemblyCopyright("Copyright © 2026")>
<Assembly: AssemblyTrademark("2.5.0.0")>
<Assembly: AssemblyTrademark("2.5.1.0")>
<Assembly: ComVisible(False)>
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.5.0.0")>
<Assembly: AssemblyFileVersion("2.5.0.0")>
<Assembly: AssemblyVersion("2.5.1.0")>
<Assembly: AssemblyFileVersion("2.5.1.0")>

View File

@@ -68,9 +68,9 @@ Public Class ZUGFeRDInterface
Public Class ZugferdOptions
Public Property AllowFacturX_Filename As Boolean = True
Public Property AllowXRechnung_Filename As Boolean = True
Public Property AllowZugferd_1_0_Schema As Boolean = True
Public Property AllowZugferd_2_x_Schema As Boolean = True
Public Property AllowZugferd_2_3_x_Schema As Boolean = True
Public Property AllowZugferd_1_0_Schema As Boolean = False
Public Property AllowZugferd_2_x_Schema As Boolean = False
Public Property AllowZugferd_2_3_x_Schema As Boolean = False
Public Property AllowPeppol_3_x_Schema As Boolean = False
Public Property AllowEBInterface_Schema As Boolean = False
End Class
@@ -111,6 +111,7 @@ Public Class ZUGFeRDInterface
_Options = New ZugferdOptions()
Else
_Options = pOptions
LogSpecificationOptions(_Options)
End If
ApplyFilenameOptions(_Options)
@@ -127,6 +128,16 @@ Public Class ZUGFeRDInterface
End Try
End Sub
Private Sub LogSpecificationOptions(options As ZugferdOptions)
_logger.Debug("AllowFacturX_Filename has Value [{0}]",options.AllowFacturX_Filename)
_logger.Debug("AllowXRechnung_Filename has Value [{0}]",options.AllowXRechnung_Filename)
_logger.Debug("AllowZugferd_1_0_Schema has Value [{0}]",options.AllowZugferd_1_0_Schema)
_logger.Debug("AllowZugferd_2_x_Schema has Value [{0}]",options.AllowZugferd_2_x_Schema)
_logger.Debug("AllowZugferd_2_3_x_Schema has Value [{0}]",options.AllowZugferd_2_3_x_Schema)
_logger.Debug("AllowPeppol_3_x_Schema has Value [{0}]",options.AllowPeppol_3_x_Schema)
_logger.Debug("AllowEBInterface_Schema has Value [{0}]", options.AllowEBInterface_Schema)
End Sub
Private Sub ApplyFilenameOptions(pOptions As ZugferdOptions)
Dim oAllowedFilenames As List(Of String) = ValidFilenames

View File

@@ -567,17 +567,30 @@ Namespace ZUGFeRD.Version2_5_2_FacturX
System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100")>
Partial Public Class DateTimeType
Private itemField As Object
'Private itemField As Object
'''<remarks/>
<System.Xml.Serialization.XmlElementAttribute("DateTime", GetType(Date)),
System.Xml.Serialization.XmlElementAttribute("DateTimeString", GetType(DateTimeTypeDateTimeString))>
Public Property Item() As Object
''''<remarks/>
'<System.Xml.Serialization.XmlElementAttribute("DateTime", GetType(Date)),
' System.Xml.Serialization.XmlElementAttribute("DateTimeString", GetType(DateTimeTypeDateTimeString))>
'Public Property Item() As Object
' Get
' Return Me.itemField
' End Get
' Set
' Me.itemField = value
' End Set
'End Property
' 19.10.2026 MP aus 2.5 uebernommen
Private itemField As DateTimeTypeDateTimeString
<System.Xml.Serialization.XmlElementAttribute("DateTimeString")>
Public Property DateTimeString() As DateTimeTypeDateTimeString
Get
Return Me.itemField
End Get
Set
Me.itemField = value
Me.itemField = Value
End Set
End Property
End Class

View File

@@ -29,9 +29,9 @@ Public Class WorkerArgs
' Feature Flags
Public AllowFacturX As Boolean = True
Public AllowXRechnung As Boolean = True
Public AllowZugferd10 As Boolean = True
Public AllowZugferd2x As Boolean = True
Public AllowZugferd23x As Boolean = True
Public AllowZugferd10 As Boolean = False
Public AllowZugferd2x As Boolean = False
Public AllowZugferd23x As Boolean = False
Public AllowPeppolBISBill3x As Boolean = False
Public AllowEBInterface As Boolean = False