ReadAdditionalReferencedDocument
Methode (Sub)
ReadAdditionalReferencedDocument ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK. Sie betrifft BG-24 (Rechnungsbegründende Unterlagen), BT-17 (Ausschreibungs- oder Losreferenz), BT-18 (Objektkennung), BT-122 (Kennung der rechnungsbegründenden Unterlage).
Beschreibung (Originaltext der englischen SDK-Dokumentation): BG-24: Reads a document-level additional referenced document by index.
Hinweis: If the index does not exist, the outputs keep their passed values (Nothing becomes an empty string). The Base64 content itself is not returned.
Deklaration
Public Sub ReadAdditionalReferencedDocument(ByVal Index As Integer, ByRef IssuerAssignedID As String, ByRef URIID As String, Optional ByRef TypeCode As String = "", Optional ByRef Name As String = "", Optional ByRef MimeCode As String = "", Optional ByRef FileName As String = "", Optional ByRef IssueDateTime As String = "", Optional ByRef Document_DateFormat As String = "", Optional ByRef ReferenceTypeCode As String = "", Optional ByRef MimeType As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Index | Integer | erforderlich | Zero-based index of the document (see AdditionalReferencedDocumentCount) |
IssuerAssignedID | String | erforderlich | (output) BT-17, BT-18, BT-122: Document reference |
URIID | String | erforderlich | (output) BT-124: External document location |
TypeCode | String | optional (Standard: "") | (output) Referenced document type code |
Name | String | optional (Standard: "") | (output) BT-123: Supporting document description |
MimeCode | String | optional (Standard: "") | (output) MIME type of the attached binary object (filled only if an attachment exists) |
FileName | String | optional (Standard: "") | (output) BT-125-2: Attached document file name |
IssueDateTime | String | optional (Standard: "") | (output) Document date |
Document_DateFormat | String | optional (Standard: "") | (output) Date format code |
ReferenceTypeCode | String | optional (Standard: "") | (output) BT-18-1: Scheme identifier |
MimeType | String | optional (Standard: "") | (output) BT-125-1: Attached document MIME code |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim Index As Integer = 0
Dim IssuerAssignedID As String = ""
Dim URIID As String = ""
alo.ReadAdditionalReferencedDocument(Index, IssuerAssignedID, URIID)
Aufruf (C#)
var zfStandard = Aloaha_ZUGFeRD.iXML.ZUGFeRDVersion.xInvoice; // Optional ByRef im Konstruktor: in C# mit ref übergeben
var alo = new Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, false, "IHR-LIZENZSCHLUESSEL", ref zfStandard);
int index = 0;
string issuerAssignedID = "";
string uriid = "";
string typeCode = "";
string name = "";
string mimeCode = "";
string fileName = "";
string issueDateTime = "";
string document_DateFormat = "";
string referenceTypeCode = "";
string mimeType = "";
alo.ReadAdditionalReferencedDocument(index, ref issuerAssignedID, ref uriid, ref typeCode, ref name, ref mimeCode, ref fileName, ref issueDateTime, ref document_DateFormat, ref referenceTypeCode, ref mimeType);
Business Terms (EN 16931)
Artikel mit ReadAdditionalReferencedDocument
COM-Schnittstelle
ReadAdditionalReferencedDocument ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 224 von 343) und damit auch aus VB6, VBA/Access und anderen COM-Clients über CreateObject("Aloaha_ZUGFeRD.XML") aufrufbar. Neue Mitglieder werden immer am Ende von iXML angefügt, damit bestehende COM-Clients unverändert weiterlaufen; nach einem Update die Typbibliothek neu registrieren.