Class CommonExport
base class for all exports
Inheritance
Namespace: Simplic.ERP.Core
Assembly: Simplic.ERP.Core.dll
Syntax
public class CommonExport : IMultiTenantCompatible
Constructors
| Improve this Doc View SourceCommonExport()
Constructor
Declaration
public CommonExport()
CommonExport(IEnumerable<DatevTransactionBooking>, Guid, DateTime, DateTime, Guid, Boolean, Nullable<Int32>, FinancialAccountingExportFormat)
Constructor for datev stack book
Declaration
public CommonExport(IEnumerable<DatevTransactionBooking> exportBookings, Guid blobId, DateTime timeWindowStart, DateTime timeWindowEnd, Guid clientId, bool committed, int? exportNumber = null, FinancialAccountingExportFormat exportFormat = FinancialAccountingExportFormat.Datev)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DatevTransactionBooking> | exportBookings | |
System.Guid | blobId | |
System.DateTime | timeWindowStart | |
System.DateTime | timeWindowEnd | |
System.Guid | clientId | |
System.Boolean | committed | |
System.Nullable<System.Int32> | exportNumber | |
FinancialAccountingExportFormat | exportFormat |
Properties
| Improve this Doc View SourceBlobId
Gets/sets the blob id of the exported report
Declaration
public Guid BlobId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
BookingText
Gets or sets the booking text for the export header
Declaration
public string BookingText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Client
Gets the client configuration
Declaration
public FinancialAccountingClient Client { get; }
Property Value
Type | Description |
---|---|
FinancialAccountingClient |
ClientId
Gets / sets the client configuration id
Declaration
public Guid ClientId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ErrorLogId
Gets/sets the log entries created by the export
Declaration
public Guid? ErrorLogId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ExportDate
Gets/sets the date of export
Declaration
public DateTime ExportDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
ExportFormat
Gets / sets the export format
Declaration
public FinancialAccountingExportFormat ExportFormat { get; set; }
Property Value
Type | Description |
---|---|
FinancialAccountingExportFormat |
ExportItems
Gets/sets the assigned export items list
Declaration
public ObservableCollection<CommonExportItem> ExportItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<CommonExportItem> |
ExportNumber
Gets or sets the export number
Declaration
public int ExportNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ExportTime
Gets/sets the time of export
Declaration
public TimeSpan ExportTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
ExportTransactions
Gets/sets the assigned transaction list
Declaration
public ObservableCollection<CommonExportItemTransaction> ExportTransactions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<CommonExportItemTransaction> |
ExportType
Gets or sets the export type
Declaration
public FinancialAccountingExportType ExportType { get; set; }
Property Value
Type | Description |
---|---|
FinancialAccountingExportType |
FromDate
Gets or sets the begin/start date of the export
Declaration
public DateTime FromDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Guid
Gets/sets the unique id
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsCommitted
Gets/sets the flag if the export is commited
Declaration
public bool IsCommitted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDeleted
Gets/sets deleted flag
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SelectedTenant
Gets or sets the selected tenant
Declaration
public OrganizationTenant SelectedTenant { get; set; }
Property Value
Type | Description |
---|---|
OrganizationTenant |
TenantId
Gets/sets the tenant id
Declaration
public Guid TenantId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Tenants
Gets or sets a list of available tenants
Declaration
public ObservableCollection<OrganizationTenant> Tenants { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<OrganizationTenant> |
ToDate
Gets/sets the end date of the export
Declaration
public DateTime ToDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Methods
| Improve this Doc View SourceSave()
Saves the current export to database
Declaration
public void Save()