Modules.Interfaces: Belegarten in ZUGFeRD 2.3.x korrigiert und fehlende nachgetragen.

Vorbereitung BT-Felder-Anzeige
This commit is contained in:
PitzM 2025-06-27 10:48:48 +02:00
parent 0ed996100d
commit 390a524736
4 changed files with 2310 additions and 2473 deletions

View File

@ -27,6 +27,7 @@ Public Class PropertyValues
Public IsRequired As Boolean
Public GroupCounter As Integer = -1
Public EN16931_ID As String
Public Description As String
Public Value As String
Public XMLPath As String
@ -35,6 +36,7 @@ Public Class PropertyValues
End Class
Public Class MissingProperty
Public EN16931_ID As String
Public Description As String
Public XMLPath As String
@ -112,6 +114,7 @@ Public Class PropertyValues
Dim oPropertyDescription As String = oColumn.Key.Description
Dim oPropertyPath As String = oColumn.Key.XMLPath
Dim oItemType As Integer = oColumn.Key.ItemType
Dim oEN16931Value As String = oColumn.Key.EN16931_ID
Dim oRowCounter = oRowIndex + oGlobalGroupCounter + 1
@ -128,6 +131,7 @@ Public Class PropertyValues
If oColumn.Key.IsRequired Then
_logger.Warn($"{MessageId} # oPropertyValue for column [{oTableColumn}] is empty or not found but is required. Continuing with Empty String.")
Dim oMissingProperty = New MissingProperty() With {
.EN16931_ID = oEN16931Value,
.Description = oPropertyDescription,
.XMLPath = oPropertyPath
}
@ -158,7 +162,8 @@ Public Class PropertyValues
.TableColumn = oTableColumn,
.IsRequired = oIsRequired,
.XMLPath = oPropertyPath,
.ItemType = oItemType
.ItemType = oItemType,
.EN16931_ID = oEN16931Value
})
Next
Next

View File

@ -9418,6 +9418,18 @@ Namespace ZUGFeRD.Version2_3_FacturX
<System.Xml.Serialization.XmlEnumAttribute("870")>
Item870 = 870
'''<remarks/>
<System.Xml.Serialization.XmlEnumAttribute("875")>
Item875 = 875
'''<remarks/>
<System.Xml.Serialization.XmlEnumAttribute("876")>
Item876 = 876
'''<remarks/>
<System.Xml.Serialization.XmlEnumAttribute("877")>
Item877 = 877
'''<remarks/>
<System.Xml.Serialization.XmlEnumAttribute("890")>
Item890 = 890

View File

@ -22,7 +22,14 @@
''' 0 = Default / Text
''' 1 = Datum
''' 2 = Gleitkomma
''' 3 = Memo-Feld
''' 3 = Attachment-Felder
''' 4 = Elemente einer Liste, vgl Currency
''' </summary>
Public ItemType As Integer
''' <summary>
''' BT-Feld-Bezeichnung
''' </summary>
Public EN16931_ID As String
End Class