Class FinancialAccountingExportManager
Inheritance
System.Object
FinancialAccountingExportManager
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()
Assembly: Simplic.ERP.Core.dll
Syntax
public class FinancialAccountingExportManager
Constructors
|
Improve this Doc
View Source
FinancialAccountingExportManager()
Declaration
public FinancialAccountingExportManager()
Methods
|
Improve this Doc
View Source
DeleteClientData(Guid)
Declaration
public void DeleteClientData(Guid clientId)
Parameters
Type |
Name |
Description |
System.Guid |
clientId |
|
|
Improve this Doc
View Source
DeleteDatevExportData(Guid)
Remove the exportdata row
Declaration
public void DeleteDatevExportData(Guid rowId)
Parameters
Type |
Name |
Description |
System.Guid |
rowId |
|
|
Improve this Doc
View Source
DeleteExport(Guid)
Declaration
public void DeleteExport(Guid exportId)
Parameters
Type |
Name |
Description |
System.Guid |
exportId |
|
|
Improve this Doc
View Source
GetAccountsByUpdate(DateTime)
Gets the personalaccount which have changed since the last export
Declaration
public IEnumerable<PersonalAccount> GetAccountsByUpdate(DateTime lastExport)
Parameters
Type |
Name |
Description |
System.DateTime |
lastExport |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<PersonalAccount> |
|
|
Improve this Doc
View Source
GetBooking(String)
Get Booking by transaction number
Declaration
public IEnumerable<DatevTransactionBooking> GetBooking(string number)
Parameters
Type |
Name |
Description |
System.String |
number |
|
Returns
|
Improve this Doc
View Source
GetBookings(IEnumerable<Guid>)
Declaration
public IEnumerable<DatevTransactionBooking> GetBookings(IEnumerable<Guid> transactionIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Guid> |
transactionIds |
|
Returns
|
Improve this Doc
View Source
GetBookings(DateTime, DateTime, Boolean)
Declaration
public IEnumerable<DatevTransactionBooking> GetBookings(DateTime from, DateTime to, bool withExported = false)
Parameters
Type |
Name |
Description |
System.DateTime |
from |
|
System.DateTime |
to |
|
System.Boolean |
withExported |
|
Returns
|
Improve this Doc
View Source
GetBookingsTestMode(IEnumerable<Guid>)
Get Bookings by list as developer mode without isexported
Declaration
public IEnumerable<DatevTransactionBooking> GetBookingsTestMode(IEnumerable<Guid> transactionIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Guid> |
transactionIds |
|
Returns
|
Improve this Doc
View Source
Gets the last export date by contact id
Declaration
public FinancialExportContact GetByDataContactId(long contactId)
Parameters
Type |
Name |
Description |
System.Int64 |
contactId |
contact id
|
Returns
|
Improve this Doc
View Source
GetClientData(Guid)
Gets a client config data
Declaration
public FinancialAccountingClient GetClientData(Guid clientId)
Parameters
Type |
Name |
Description |
System.Guid |
clientId |
|
Returns
|
Improve this Doc
View Source
GetDatevExportData(Boolean)
Returns the available export data rows
Declaration
public IEnumerable<DatevExportDataRow> GetDatevExportData(bool withExported)
Parameters
Type |
Name |
Description |
System.Boolean |
withExported |
|
Returns
|
Improve this Doc
View Source
GetDatevExportData(Guid)
Returns the available export data rows
Declaration
public DatevExportDataRow GetDatevExportData(Guid rowId)
Parameters
Type |
Name |
Description |
System.Guid |
rowId |
|
Returns
|
Improve this Doc
View Source
GetDefaultClientData()
For automatic export into export data table only one default entry is needed
Declaration
public FinancialAccountingClient GetDefaultClientData()
Returns
|
Improve this Doc
View Source
GetExport(Guid)
Declaration
public CommonExport GetExport(Guid exportId)
Parameters
Type |
Name |
Description |
System.Guid |
exportId |
|
Returns
|
Improve this Doc
View Source
GetExportableTransactions()
Returns the guids of all exportable transactions
Declaration
public IEnumerable<Guid> GetExportableTransactions()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Guid> |
|
|
Improve this Doc
View Source
GetExportItems(Guid)
Declaration
public IEnumerable<CommonExportItem> GetExportItems(Guid exportId)
Parameters
Type |
Name |
Description |
System.Guid |
exportId |
|
Returns
|
Improve this Doc
View Source
GetExportTransactionAssignments(Guid)
Gets the to the export assigned transactions
Declaration
public IEnumerable<CommonExportItemTransaction> GetExportTransactionAssignments(Guid exportId)
Parameters
Type |
Name |
Description |
System.Guid |
exportId |
|
Returns
|
Improve this Doc
View Source
GetLastAddressExportDate(Guid)
Gets the last time when the addresses were exported for the tenant
Declaration
public DateTime GetLastAddressExportDate(Guid tenantId)
Parameters
Type |
Name |
Description |
System.Guid |
tenantId |
|
Returns
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
GetLastExportNumber()
Gets the last used export number
Declaration
public int? GetLastExportNumber()
Returns
Type |
Description |
System.Nullable<System.Int32> |
export number
|
|
Improve this Doc
View Source
GetTaxGLANumber(Boolean, Guid)
Gets the gla number for the taxrate
Declaration
public GeneralLedgerAccount GetTaxGLANumber(bool incoming, Guid taxId)
Parameters
Type |
Name |
Description |
System.Boolean |
incoming |
|
System.Guid |
taxId |
|
Returns
|
Improve this Doc
View Source
SaveClientData(FinancialAccountingClient)
Writes the client data to database
Declaration
public void SaveClientData(FinancialAccountingClient data)
Parameters
|
Improve this Doc
View Source
Writes the contact export data to database
Declaration
public void SaveContactExportData(FinancialExportContact data)
Parameters
|
Improve this Doc
View Source
SaveExport(CommonExport)
Save an export to database
Declaration
public void SaveExport(CommonExport export)
Parameters
|
Improve this Doc
View Source
SaveExportData(DatevExportDataRow)
Writes an exported data row to database
Declaration
public void SaveExportData(DatevExportDataRow row)
Parameters
|
Improve this Doc
View Source
SaveExportItems(IEnumerable<CommonExportItem>, Guid, Boolean)
Saves a list of export itams
Declaration
public void SaveExportItems(IEnumerable<CommonExportItem> items, Guid exportId, bool articleBookings = false)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CommonExportItem> |
items |
|
System.Guid |
exportId |
|
System.Boolean |
articleBookings |
|
|
Improve this Doc
View Source
SetLastAddressExport(Guid, DateTime)
Sets the address export time for the tenant
Declaration
public void SetLastAddressExport(Guid tenantId, DateTime exportTime)
Parameters
Type |
Name |
Description |
System.Guid |
tenantId |
|
System.DateTime |
exportTime |
|