Class DatevCSVExport
Exports datav csv data
Inheritance
System.Object
DatevCSVExport
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.ERP.Core.Datev
Assembly: Simplic.ERP.Core.dll
Syntax
public class DatevCSVExport
Constructors
| Improve this Doc View SourceDatevCSVExport(IEnumerable<DatevTransactionBooking>, DateTime, DateTime, String, String, DateTime, String, Boolean, String, String, Guid)
Constructor
Declaration
public DatevCSVExport(IEnumerable<DatevTransactionBooking> bookings, DateTime timeWindowStart, DateTime timeWindowEnd, string consultantNumber, string clientNumber, DateTime beginYear, string currency, bool commitExportedData, string tenantName, string bookingText, Guid exportId)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DatevTransactionBooking> | bookings | |
System.DateTime | timeWindowStart | |
System.DateTime | timeWindowEnd | |
System.String | consultantNumber | |
System.String | clientNumber | |
System.DateTime | beginYear | |
System.String | currency | |
System.Boolean | commitExportedData | |
System.String | tenantName | |
System.String | bookingText | |
System.Guid | exportId |
DatevCSVExport(IEnumerable<DatevTransactionBooking>, DateTime, DateTime, String, String, DateTime, String, Boolean, String, String, Guid, Int32)
Constructor
Declaration
public DatevCSVExport(IEnumerable<DatevTransactionBooking> bookings, DateTime timeWindowStart, DateTime timeWindowEnd, string consultantNumber, string clientNumber, DateTime beginYear, string currency, bool commitExportedData, string tenantName, string bookingText, Guid exportId, int glaNumberLength)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DatevTransactionBooking> | bookings | |
System.DateTime | timeWindowStart | |
System.DateTime | timeWindowEnd | |
System.String | consultantNumber | |
System.String | clientNumber | |
System.DateTime | beginYear | |
System.String | currency | |
System.Boolean | commitExportedData | |
System.String | tenantName | |
System.String | bookingText | |
System.Guid | exportId | |
System.Int32 | glaNumberLength |
Methods
| Improve this Doc View SourceCreateCsv(IEnumerable<DatevTransactionBooking>, String, DateTime, DateTime, String, String, DateTime, String, Boolean, String, String, Guid)
Inits the CSV export
Declaration
public static string CreateCsv(IEnumerable<DatevTransactionBooking> bookings, string csvFile, DateTime timeWindowStart, DateTime timeWindowEnd, string consultantNumber, string clientNumber, DateTime beginYear, string currency, bool commitExportedData, string tenantName, string bookingText, Guid exportId)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DatevTransactionBooking> | bookings | |
System.String | csvFile | |
System.DateTime | timeWindowStart | |
System.DateTime | timeWindowEnd | |
System.String | consultantNumber | |
System.String | clientNumber | |
System.DateTime | beginYear | |
System.String | currency | |
System.Boolean | commitExportedData | |
System.String | tenantName | |
System.String | bookingText | |
System.Guid | exportId |
Returns
Type | Description |
---|---|
System.String |
CreateCsv(IEnumerable<DatevTransactionBooking>, String, DateTime, DateTime, String, String, DateTime, String, Boolean, String, String, Guid, Int32)
Inits the CSV export
Declaration
public static string CreateCsv(IEnumerable<DatevTransactionBooking> bookings, string csvFile, DateTime timeWindowStart, DateTime timeWindowEnd, string consultantNumber, string clientNumber, DateTime beginYear, string currency, bool commitExportedData, string tenantName, string bookingText, Guid exportId, int glaNumberLength)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DatevTransactionBooking> | bookings | |
System.String | csvFile | |
System.DateTime | timeWindowStart | |
System.DateTime | timeWindowEnd | |
System.String | consultantNumber | |
System.String | clientNumber | |
System.DateTime | beginYear | |
System.String | currency | |
System.Boolean | commitExportedData | |
System.String | tenantName | |
System.String | bookingText | |
System.Guid | exportId | |
System.Int32 | glaNumberLength |
Returns
Type | Description |
---|---|
System.String |
SaveCSV(String)
Creates the CSV file
Declaration
public IEnumerable<string> SaveCSV(string csvFile)
Parameters
Type | Name | Description |
---|---|---|
System.String | csvFile | Target CSV-File path |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |