Jobs: Make Xml Document an Object to support new variable ZUGFeRD Schemata

This commit is contained in:
Jonathan Jenne 2021-12-09 14:30:54 +01:00
parent 2a90f21b03
commit 3e550121b9

View File

@ -197,7 +197,10 @@ Public Class ImportZUGFeRDFiles
Try
For Each oFile In oFileGroupFiles
Dim oDocument As CrossIndustryDocumentType
' 09.12.2021: oDocument is now an Object, because have different classes corresponding to the
' different versions of ZUGFeRD and the type is unknown at compile-time.
Dim oDocument As Object
' Start a global group counter for each file
Dim oGlobalGroupCounter = 0
' Clear missing properties for the new file