SetIncludedNote
Methode (Sub)
SetIncludedNote 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: Sets the invoice note on document level. All existing document notes are replaced by this single note.
Deklaration
Public Sub SetIncludedNote(ByVal Content As String, Optional ByVal SubjectCode As String = "", Optional ByVal ContentCode As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Content | String | erforderlich | BT-22: Note text. If empty, the text of the first existing note is reused; if there is none, nothing is changed. |
SubjectCode | String | optional (Standard: "") | BT-21: Optional subject code of the note (UNTDID 4451), e.g. AAI, REG. |
ContentCode | String | optional (Standard: "") | Optional content code of the note. Setting it switches the profile to EXTENDED. |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim Content As String = ""
alo.SetIncludedNote(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);
string content = "";
alo.SetIncludedNote(content);
Business Terms (EN 16931)
Artikel mit SetIncludedNote
COM-Schnittstelle
SetIncludedNote ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 173 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.