ReadTradeItemCSV
Methode (Function) · gibt String zurück
ReadTradeItemCSV ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): Exports all invoice lines of the current invoice as CSV text: one header row plus one row per line item. Columns include seller/buyer/global item IDs, name, description, note, LineID, quantity and unit, net/gross price, line total, VAT rate/category/type/exemption reason, the first gross price allowance, delivery note and order/contract/quotation references of the line.
Rückgabe: CSV text with lines separated by CRLF, or an empty string if the invoice has no line items.
Hinweis: Line breaks are replaced in IDs, name, description, note and document references. Values are not quoted.
Deklaration
Public Function ReadTradeItemCSV(Optional ByVal Seperator_Char As String = ",") As String
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Seperator_Char | String | optional (Standard: ") | Column separator (default comma) |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim ergebnis = alo.ReadTradeItemCSV()
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);
var ergebnis = alo.ReadTradeItemCSV();
Artikel mit ReadTradeItemCSV
COM-Schnittstelle
ReadTradeItemCSV ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 237 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.