OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.BankImport.Logic.TBankStatementImportCSV Class Reference

import a bank statement from a CSV file More...

Static Public Member Functions

static bool ImportBankStatement (Int32 ALedgerNumber, string ABankAccountCode, string ABankStatementFilename, string ACSVContent, string ASeparator, string ADateFormat, string ANumberFormat, string ACurrencyCode, string AColumnMeaning, string AStartAfterLine, out Int32 AStatementKey, out TVerificationResultCollection AVerificationResult)
 import the data of a CSV file More...
 
static BankImportTDS ImportBankStatementHelper (Int32 ALedgerNumber, string ABankAccountCode, string ASeparator, string ADateFormat, string ANumberFormat, string ACurrencyCode, string AColumnsUsage, string AStartAfterLine, string ABankStatementFilename, string AStatementData)
 this can be used from the unit tests More...
 

Detailed Description

import a bank statement from a CSV file

Member Function Documentation

◆ ImportBankStatement()

static bool Ict.Petra.Server.MFinance.BankImport.Logic.TBankStatementImportCSV.ImportBankStatement ( Int32  ALedgerNumber,
string  ABankAccountCode,
string  ABankStatementFilename,
string  ACSVContent,
string  ASeparator,
string  ADateFormat,
string  ANumberFormat,
string  ACurrencyCode,
string  AColumnMeaning,
string  AStartAfterLine,
out Int32  AStatementKey,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

import the data of a CSV file

Parameters
ALedgerNumberthe current ledger number
ABankAccountCodethe bank account against which the statement should be stored
ABankStatementFilename
ACSVContent
ASeparator
ADateFormatDMY or MDY
ANumberFormatEuropean or American
ACurrencyCodeeg. EUR
AColumnMeaning
AStartAfterLinecan be empty, otherwise only the lines after the line matching AStartAfterLine will be parsed
AStatementKeythis returns the first key of a statement that was imported. depending on the implementation, several statements can be created from one file
AVerificationResult

◆ ImportBankStatementHelper()

static BankImportTDS Ict.Petra.Server.MFinance.BankImport.Logic.TBankStatementImportCSV.ImportBankStatementHelper ( Int32  ALedgerNumber,
string  ABankAccountCode,
string  ASeparator,
string  ADateFormat,
string  ANumberFormat,
string  ACurrencyCode,
string  AColumnsUsage,
string  AStartAfterLine,
string  ABankStatementFilename,
string  AStatementData 
)
inlinestatic

this can be used from the unit tests


The documentation for this class was generated from the following file: