AddDeliveryNote
Methode (Sub)
AddDeliveryNote ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): BG-X-83: Sets the delivery note reference (DeliveryNoteReferencedDocument) on document level, or on a line item if LineID is given.
Hinweis: Switches the profile to EXTENDED. On document level a second call replaces the previous delivery note.
Deklaration
Public Sub AddDeliveryNote(ByVal DocumentID As String, ByVal DocumentDate As String, ByVal DocumentDateFormat As String, Optional ByVal LineID As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
DocumentID | String | erforderlich | BT-X-92: Delivery note number; nothing is set if empty |
DocumentDate | String | erforderlich | BT-X-94: Delivery note date |
DocumentDateFormat | String | erforderlich | BT-X-94-0: Date format, usually 102; detected from DocumentDate if empty |
LineID | String | optional (Standard: "") | Optional zero-based index of a line item; if set, the reference is stored on that item (line ID = index + 1) instead of the document level |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim DocumentID As String = ""
Dim DocumentDate As String = ""
Dim DocumentDateFormat As String = ""
alo.AddDeliveryNote(DocumentID, DocumentDate, DocumentDateFormat)
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 documentID = "";
string documentDate = "";
string documentDateFormat = "";
alo.AddDeliveryNote(documentID, documentDate, documentDateFormat);
Artikel mit AddDeliveryNote
Erstellung einer ZUGFeRD/X-Rechnung XML Datei via COM Schnittstelle (VB6 / VBA) with Late Binding
Um den Einstieg in die Nutzung unseres SDK zu erleichtern, haben wir ein neues Beispiel entwickelt, das demonstriert, wie eine vollständige ZUGFeRD XML-Datei erstellt wird. Für die Erstellung dieses…
Erstellung einer ZUGFeRD/X-Rechnung XML Datei via COM Schnittstelle (VB6 / VBA) oder .NET (Early Binding)
Um den Einstieg in die Nutzung unseres SDK zu erleichtern, haben wir ein neues Beispiel entwickelt, das demonstriert, wie eine vollständige ZUGFeRD XML-Datei erstellt wird. Für die Erstellung dieses…
Q: How do I use the ZUGFeRD SDK?
To use the SDK to create or read ZUGFeRD compliant XML Invoices is pretty easy. First you need to Reference the Object “Aloaha ZUGFeRD Library” or “Aloaha_ZUGFeRD.xml” in .NET. In case your language…
COM-Schnittstelle
AddDeliveryNote ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 59 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.