SetIncludedNote

Methode (Sub)

SetIncludedNote ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der 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 (aus der 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

NameTypPflichtBeschreibung
ContentStringerforderlichBT-22: Note text. If empty, the text of the first existing note is reused; if there is none, nothing is changed.
SubjectCodeStringoptional (Standard: "")BT-21: Optional subject code of the note (UNTDID 4451), e.g. AAI, REG.
ContentCodeStringoptional (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, LicenseKey)
' …
alo.SetIncludedNote(Content)

Business Terms (EN 16931)

Artikel mit SetIncludedNote

Quelle: XML-Dokumentationskommentare der Aloaha ZUGFeRD SDK (xml.vb). Gleiche Signatur in VB6/VBA über COM; in C# mit Semikolon.