getDocumentNote
Methode (Sub)
getDocumentNote ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK. Sie betrifft BG-1 (Freitext zur Rechnung), BT-22 (Freitext zur Rechnung), BT-21 (Code zur Qualifizierung des Freitextes zur Rechnung).
Beschreibung (Originaltext der englischen SDK-Dokumentation): BG-1: Reads an invoice note by index.
Hinweis: Output arguments that are Nothing are set to an empty string. An invalid index is ignored (errors are swallowed).
Deklaration
Public Sub getDocumentNote(ByVal Index As Integer, ByRef Content As String, Optional ByRef ContentCode As String = "", Optional ByRef SubjectCode As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Index | Integer | erforderlich | Zero-based index of the note (0 to DocumentNotesCount - 1) |
Content | String | erforderlich | BT-22: Note text (output) |
ContentCode | String | optional (Standard: "") | Content code of the note (output) |
SubjectCode | String | optional (Standard: "") | BT-21: Subject code of the note, e.g. AAI, REG (output) |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim Index As Integer = 0
Dim Content As String = ""
alo.getDocumentNote(Index, Content)
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 content = "";
string contentCode = "";
string subjectCode = "";
alo.getDocumentNote(index, ref content, ref contentCode, ref subjectCode);
Business Terms (EN 16931)
Artikel mit getDocumentNote
COM-Schnittstelle
getDocumentNote ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 201 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.