OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable Class Reference

the transactions from the recently imported bank statements; they should help to identify the other party of the transaction (donor, etc) and the purpose of the transaction More...

Inheritance diagram for Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable:
Ict.Common.Data.TTypedDataTable Ict.Petra.Shared.MFinance.BankImport.Data.BankImportTDSAEpTransactionTable

Public Member Functions

 AEpTransactionTable ()
 constructor More...
 
 AEpTransactionTable (string ATablename)
 constructor More...
 
 AEpTransactionTable (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 constructor for serialization More...
 
override void InitVars ()
 assign columns to properties, set primary key More...
 
AEpTransactionRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
AEpTransactionRow NewRowTyped ()
 create a new typed row, always with default values More...
 
AEpTransactionTable GetChangesTyped ()
 get typed set of changes More...
 
override OdbcParameter CreateOdbcParameter (Int32 AColumnNr)
 get an odbc parameter for the given column More...
 
new DataTable GetChanges ()
 make sure that we use GetChangesType instead of GetChanges More...
 
virtual string GetCustomReportPermission ()
 string to indicate which permissions a user needs to access table for custom reports (e.g. "PTNRUSER", "OR(FINANCE-1,DEVUSER)", "AND(PTNRUSER,FINANCE-1)" This should be returned by method in derived class More...
 
virtual bool IsAvailableForCustomReport ()
 Is this table generally available in custom reports? More...
 
virtual List< String > GetCustomReportFieldList ()
 Return a list of fields that are available for custom reports More...
 
DataTable GetChangesTypedInternal ()
 our own version of GetChanges More...
 
void RemoveColumnsNotInTableTemplate (DataTable ATableTemplate)
 remove columns that are not needed More...
 

Static Public Member Functions

static string GetTableName ()
 return the CamelCase name of the table More...
 
static string GetTableDBName ()
 return the name of the table as it is used in the database More...
 
static string GetTableDBLabel ()
 static method to return the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about) More...
 
static string GetStatementKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetStatementKeyLength ()
 get character length for column More...
 
static string GetStatementKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetOrderDBName ()
 get the name of the field in the database for this column More...
 
static short GetOrderLength ()
 get character length for column More...
 
static string GetOrderHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDetailKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetDetailKeyLength ()
 get character length for column More...
 
static string GetDetailKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNumberOnPaperStatementDBName ()
 get the name of the field in the database for this column More...
 
static short GetNumberOnPaperStatementLength ()
 get character length for column More...
 
static string GetNumberOnPaperStatementHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMatchTextDBName ()
 get the name of the field in the database for this column More...
 
static short GetMatchTextLength ()
 get character length for column More...
 
static string GetMatchTextHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAccountNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetAccountNameLength ()
 get character length for column More...
 
static string GetAccountNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTitleDBName ()
 get the name of the field in the database for this column More...
 
static short GetTitleLength ()
 get character length for column More...
 
static string GetTitleHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFirstNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetFirstNameLength ()
 get character length for column More...
 
static string GetFirstNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMiddleNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetMiddleNameLength ()
 get character length for column More...
 
static string GetMiddleNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetLastNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetLastNameLength ()
 get character length for column More...
 
static string GetLastNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetBranchCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetBranchCodeLength ()
 get character length for column More...
 
static string GetBranchCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetBicDBName ()
 get the name of the field in the database for this column More...
 
static short GetBicLength ()
 get character length for column More...
 
static string GetBicHelp ()
 get the help text for the field in the database for this column More...
 
static string GetBankAccountNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetBankAccountNumberLength ()
 get character length for column More...
 
static string GetBankAccountNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetIbanDBName ()
 get the name of the field in the database for this column More...
 
static short GetIbanLength ()
 get character length for column More...
 
static string GetIbanHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTransactionTypeCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetTransactionTypeCodeLength ()
 get character length for column More...
 
static string GetTransactionTypeCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTransactionAmountDBName ()
 get the name of the field in the database for this column More...
 
static short GetTransactionAmountLength ()
 get character length for column More...
 
static string GetTransactionAmountHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDescriptionDBName ()
 get the name of the field in the database for this column More...
 
static short GetDescriptionLength ()
 get character length for column More...
 
static string GetDescriptionHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateEffectiveDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateEffectiveLength ()
 get character length for column More...
 
static string GetDateEffectiveHelp ()
 get the help text for the field in the database for this column More...
 
static string GetEpMatchKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetEpMatchKeyLength ()
 get character length for column More...
 
static string GetEpMatchKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateCreatedDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateCreatedLength ()
 get character length for column More...
 
static string GetDateCreatedHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCreatedByDBName ()
 get the name of the field in the database for this column More...
 
static short GetCreatedByLength ()
 get character length for column More...
 
static string GetCreatedByHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateModifiedDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateModifiedLength ()
 get character length for column More...
 
static string GetDateModifiedHelp ()
 get the help text for the field in the database for this column More...
 
static string GetModifiedByDBName ()
 get the name of the field in the database for this column More...
 
static short GetModifiedByLength ()
 get character length for column More...
 
static string GetModifiedByHelp ()
 get the help text for the field in the database for this column More...
 
static string GetModificationIdDBName ()
 get the name of the field in the database for this column More...
 
static short GetModificationIdLength ()
 get character length for column More...
 
static string GetModificationIdHelp ()
 get the help text for the field in the database for this column More...
 
static OdbcParameter CreateOdbcParameter (short ATableNumber, TSearchCriteria ASearchCriteria)
 create an odbc parameter for the given column More...
 
static OdbcParameter CreateOdbcParameter (short ATableNumber, Int32 AColumnNr)
 create an odbc parameter for the given column More...
 
static void ResetStaticVariables ()
 reset the static variables for each Web Request call. More...
 
static string GetTableNameSQL (short ATableNumber)
 the table name as it is in the SQL database More...
 
static string GetTableName (short ATableNumber)
 the table name in CamelCase More...
 
static TTypedTableInfo GetTableByName (string ATableName)
 the table name in CamelCase More...
 
static string GetColumnNameSQL (short ATableNumber, short AColumnNr)
 the column name as it is in the SQL database More...
 
static string GetLabel (short ATableNumber, short AColumnNr)
 returns the translated label for the column More...
 
static Int32 GetLength (short ATableNumber, short AColumnNr)
 get the maximum length for the field More...
 
static Int32 GetLength (string ATableName, string AColumnName)
 get the maximum length for the field More...
 
static string[] GetKeyColumnStringList (short ATableNumber, int[] AKeyColumnsOrder)
 get the names of the columns that are part of the key More...
 
static string[] GetPrimaryKeyColumnStringList (short ATableNumber)
 get the names of the columns that are part of the primary key More...
 
static string[] GetUniqueKeyColumnStringList (short ATableNumber)
 get the names of the columns that are part of the unique key More...
 
static int[] GetPrimaryKeyColumnOrdList (short ATableNumber)
 get the order number of the columns that are part of the primary key More...
 
static int[] GetUniqueKeyColumnOrdList (short ATableNumber)
 get the order number of the columns that are part of a unique key More...
 
static string[] GetColumnStringList (short ATableNumber)
 get the names of the columns in this table More...
 

Public Attributes

DataColumn ColumnStatementKey
 this transaction belongs to that statement More...
 
DataColumn ColumnOrder
 to complete the primary key More...
 
DataColumn ColumnDetailKey
 a transaction can be split in order to support mixed GL and Gift records More...
 
DataColumn ColumnNumberOnPaperStatement
 can be different from order, since the paper statements can have different order than the electronic statement More...
 
DataColumn ColumnMatchText
 this is a calculated text that uniquely identifies this transaction so that it can be recognised next month. TODO: should have a link table a_ep_match between a_ep_transaction and a_ep_match_detail More...
 
DataColumn ColumnAccountName
 This can be a summary of title, first name, last name etc. of the other party. More...
 
DataColumn ColumnTitle
 
DataColumn ColumnFirstName
 
DataColumn ColumnMiddleName
 
DataColumn ColumnLastName
 the name of the other party More...
 
DataColumn ColumnBranchCode
 The bank code/branch code/sort code of the other party. More...
 
DataColumn ColumnBic
 BIC (Bank Identifier Code)/SWIFT code of the other party. More...
 
DataColumn ColumnBankAccountNumber
 The account number in the bank of the other party. More...
 
DataColumn ColumnIban
 The IBAN (International Bank Account Number) of the other party. More...
 
DataColumn ColumnTransactionTypeCode
 This can be recurring income, recurring payment, income, payment, direct debit, etc. More...
 
DataColumn ColumnTransactionAmount
 The amount in the currency of the bank account. More...
 
DataColumn ColumnDescription
 This description was given when the transfer was initiated. More...
 
DataColumn ColumnDateEffective
 The date when this transaction became valid or available. More...
 
DataColumn ColumnEpMatchKey
 set this value to the match (either new match or set automatically) More...
 
DataColumn ColumnDateCreated
 The date the record was created. More...
 
DataColumn ColumnCreatedBy
 User ID of who created this record. More...
 
DataColumn ColumnDateModified
 The date the record was modified. More...
 
DataColumn ColumnModifiedBy
 User ID of who last modified this record. More...
 
DataColumn ColumnModificationId
 This identifies the current version of the record. More...
 
bool ThrowAwayAfterSubmitChanges = false
 if you want the datatable to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges. More...
 
bool DontThrowAwayAfterSubmitChanges = false
 if you want no warning about that the datatable should be cleared after submitchanges. in some cases you must keep the data, eg when you need the new keys after INSERT More...
 

Static Public Attributes

static readonly short TableId = 66
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnStatementKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnOrderId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDetailKeyId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNumberOnPaperStatementId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMatchTextId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAccountNameId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTitleId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFirstNameId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMiddleNameId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnLastNameId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBranchCodeId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBicId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBankAccountNumberId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnIbanId = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTransactionTypeCodeId = 14
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTransactionAmountId = 15
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDescriptionId = 16
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateEffectiveId = 17
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnEpMatchKeyId = 18
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 19
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 20
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 21
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 22
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 23
 used for generic TTypedDataTable functions More...
 

Protected Member Functions

override void InitClass ()
 create the columns More...
 
override System.Data.DataRow NewRowFromBuilder (System.Data.DataRowBuilder builder)
 new typed row using DataRowBuilder More...
 

Static Protected Attributes

static SortedList< short, TTypedTableInfoTableInfo = new SortedList <short, TTypedTableInfo>()
 stores information about typed tables More...
 

Properties

AEpTransactionRow this[int i] [get]
 Access a typed row by index. More...
 
override string TableDBLabel [get]
 instance property to get the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about) More...
 
int Count [get]
 the number of rows in the current table More...
 

Detailed Description

the transactions from the recently imported bank statements; they should help to identify the other party of the transaction (donor, etc) and the purpose of the transaction

Constructor & Destructor Documentation

◆ AEpTransactionTable() [1/3]

Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.AEpTransactionTable ( )
inline

constructor

◆ AEpTransactionTable() [2/3]

Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.AEpTransactionTable ( string  ATablename)
inline

constructor

◆ AEpTransactionTable() [3/3]

Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.AEpTransactionTable ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)
inline

constructor for serialization

Member Function Documentation

◆ CreateOdbcParameter() [1/3]

override OdbcParameter Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.CreateOdbcParameter ( Int32  AColumnNr)
inlinevirtual

get an odbc parameter for the given column

Implements Ict.Common.Data.TTypedDataTable.

Reimplemented in Ict.Petra.Shared.MFinance.BankImport.Data.BankImportTDSAEpTransactionTable.

◆ CreateOdbcParameter() [2/3]

static OdbcParameter Ict.Common.Data.TTypedDataTable.CreateOdbcParameter ( short  ATableNumber,
Int32  AColumnNr 
)
inlinestaticinherited

create an odbc parameter for the given column

◆ CreateOdbcParameter() [3/3]

static OdbcParameter Ict.Common.Data.TTypedDataTable.CreateOdbcParameter ( short  ATableNumber,
TSearchCriteria  ASearchCriteria 
)
inlinestaticinherited

create an odbc parameter for the given column

◆ GetAccountNameDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetAccountNameDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetAccountNameHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetAccountNameHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetAccountNameLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetAccountNameLength ( )
inlinestatic

get character length for column

◆ GetBankAccountNumberDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBankAccountNumberDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetBankAccountNumberHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBankAccountNumberHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetBankAccountNumberLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBankAccountNumberLength ( )
inlinestatic

get character length for column

◆ GetBicDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBicDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetBicHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBicHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetBicLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBicLength ( )
inlinestatic

get character length for column

◆ GetBranchCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBranchCodeDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetBranchCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBranchCodeHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetBranchCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetBranchCodeLength ( )
inlinestatic

get character length for column

◆ GetChanges()

new DataTable Ict.Common.Data.TTypedDataTable.GetChanges ( )
inlineinherited

make sure that we use GetChangesType instead of GetChanges

Returns
throws an exception

◆ GetChangesTyped()

AEpTransactionTable Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetChangesTyped ( )
inline

get typed set of changes

◆ GetChangesTypedInternal()

DataTable Ict.Common.Data.TTypedDataTable.GetChangesTypedInternal ( )
inlineinherited

our own version of GetChanges

Returns
returns a typed table with the changes

◆ GetColumnNameSQL()

static string Ict.Common.Data.TTypedDataTable.GetColumnNameSQL ( short  ATableNumber,
short  AColumnNr 
)
inlinestaticinherited

the column name as it is in the SQL database

◆ GetColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns in this table

◆ GetCreatedByDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetCreatedByDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetCreatedByHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetCreatedByLength ( )
inlinestatic

get character length for column

◆ GetCustomReportFieldList()

virtual List< String > Ict.Common.Data.TTypedDataTable.GetCustomReportFieldList ( )
inlinevirtualinherited

Return a list of fields that are available for custom reports

◆ GetCustomReportPermission()

virtual string Ict.Common.Data.TTypedDataTable.GetCustomReportPermission ( )
inlinevirtualinherited

string to indicate which permissions a user needs to access table for custom reports (e.g. "PTNRUSER", "OR(FINANCE-1,DEVUSER)", "AND(PTNRUSER,FINANCE-1)" This should be returned by method in derived class

◆ GetDateCreatedDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateCreatedDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetDateCreatedHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateCreatedHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetDateCreatedLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateCreatedLength ( )
inlinestatic

get character length for column

◆ GetDateEffectiveDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateEffectiveDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetDateEffectiveHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateEffectiveHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetDateEffectiveLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateEffectiveLength ( )
inlinestatic

get character length for column

◆ GetDateModifiedDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateModifiedDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetDateModifiedHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateModifiedHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetDateModifiedLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDateModifiedLength ( )
inlinestatic

get character length for column

◆ GetDescriptionDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDescriptionDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetDescriptionHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDescriptionHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetDescriptionLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDescriptionLength ( )
inlinestatic

get character length for column

◆ GetDetailKeyDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDetailKeyDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetDetailKeyHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDetailKeyHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetDetailKeyLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetDetailKeyLength ( )
inlinestatic

get character length for column

◆ GetEpMatchKeyDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetEpMatchKeyDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetEpMatchKeyHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetEpMatchKeyHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetEpMatchKeyLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetEpMatchKeyLength ( )
inlinestatic

get character length for column

◆ GetFirstNameDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetFirstNameDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetFirstNameHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetFirstNameHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetFirstNameLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetFirstNameLength ( )
inlinestatic

get character length for column

◆ GetIbanDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetIbanDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetIbanHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetIbanHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetIbanLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetIbanLength ( )
inlinestatic

get character length for column

◆ GetKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetKeyColumnStringList ( short  ATableNumber,
int[]  AKeyColumnsOrder 
)
inlinestaticinherited

get the names of the columns that are part of the key

◆ GetLabel()

static string Ict.Common.Data.TTypedDataTable.GetLabel ( short  ATableNumber,
short  AColumnNr 
)
inlinestaticinherited

returns the translated label for the column

◆ GetLastNameDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetLastNameDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetLastNameHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetLastNameHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetLastNameLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetLastNameLength ( )
inlinestatic

get character length for column

◆ GetLength() [1/2]

static Int32 Ict.Common.Data.TTypedDataTable.GetLength ( short  ATableNumber,
short  AColumnNr 
)
inlinestaticinherited

get the maximum length for the field

◆ GetLength() [2/2]

static Int32 Ict.Common.Data.TTypedDataTable.GetLength ( string  ATableName,
string  AColumnName 
)
inlinestaticinherited

get the maximum length for the field

◆ GetMatchTextDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetMatchTextDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetMatchTextHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetMatchTextHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetMatchTextLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetMatchTextLength ( )
inlinestatic

get character length for column

◆ GetMiddleNameDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetMiddleNameDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetMiddleNameHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetMiddleNameHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetMiddleNameLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetMiddleNameLength ( )
inlinestatic

get character length for column

◆ GetModificationIdDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetModificationIdDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetModificationIdHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetModificationIdLength ( )
inlinestatic

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetModifiedByDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetModifiedByHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetModifiedByLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetModifiedByLength ( )
inlinestatic

get character length for column

◆ GetNumberOnPaperStatementDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetNumberOnPaperStatementDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetNumberOnPaperStatementHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetNumberOnPaperStatementHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetNumberOnPaperStatementLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetNumberOnPaperStatementLength ( )
inlinestatic

get character length for column

◆ GetOrderDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetOrderDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetOrderHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetOrderHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetOrderLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetOrderLength ( )
inlinestatic

get character length for column

◆ GetPrimaryKeyColumnOrdList()

static int[] Ict.Common.Data.TTypedDataTable.GetPrimaryKeyColumnOrdList ( short  ATableNumber)
inlinestaticinherited

get the order number of the columns that are part of the primary key

◆ GetPrimaryKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetPrimaryKeyColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns that are part of the primary key

◆ GetStatementKeyDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetStatementKeyDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetStatementKeyHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetStatementKeyHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetStatementKeyLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetStatementKeyLength ( )
inlinestatic

get character length for column

◆ GetTableByName()

static TTypedTableInfo Ict.Common.Data.TTypedDataTable.GetTableByName ( string  ATableName)
inlinestaticinherited

the table name in CamelCase

◆ GetTableDBLabel()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTableDBLabel ( )
inlinestatic

static method to return the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about)

◆ GetTableDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTableDBName ( )
inlinestatic

return the name of the table as it is used in the database

◆ GetTableName() [1/2]

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTableName ( )
inlinestatic

return the CamelCase name of the table

◆ GetTableName() [2/2]

static string Ict.Common.Data.TTypedDataTable.GetTableName ( short  ATableNumber)
inlinestaticinherited

the table name in CamelCase

◆ GetTableNameSQL()

static string Ict.Common.Data.TTypedDataTable.GetTableNameSQL ( short  ATableNumber)
inlinestaticinherited

the table name as it is in the SQL database

◆ GetTitleDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTitleDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetTitleHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTitleHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetTitleLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTitleLength ( )
inlinestatic

get character length for column

◆ GetTransactionAmountDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTransactionAmountDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetTransactionAmountHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTransactionAmountHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetTransactionAmountLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTransactionAmountLength ( )
inlinestatic

get character length for column

◆ GetTransactionTypeCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTransactionTypeCodeDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetTransactionTypeCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTransactionTypeCodeHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetTransactionTypeCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.GetTransactionTypeCodeLength ( )
inlinestatic

get character length for column

◆ GetUniqueKeyColumnOrdList()

static int[] Ict.Common.Data.TTypedDataTable.GetUniqueKeyColumnOrdList ( short  ATableNumber)
inlinestaticinherited

get the order number of the columns that are part of a unique key

◆ GetUniqueKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetUniqueKeyColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns that are part of the unique key

◆ InitClass()

override void Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.InitClass ( )
inlineprotectedvirtual

◆ InitVars()

override void Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.InitVars ( )
inlinevirtual

assign columns to properties, set primary key

Implements Ict.Common.Data.TTypedDataTable.

Reimplemented in Ict.Petra.Shared.MFinance.BankImport.Data.BankImportTDSAEpTransactionTable.

◆ IsAvailableForCustomReport()

virtual bool Ict.Common.Data.TTypedDataTable.IsAvailableForCustomReport ( )
inlinevirtualinherited

Is this table generally available in custom reports?

◆ NewRowFromBuilder()

override System.Data.DataRow Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.NewRowFromBuilder ( System.Data.DataRowBuilder  builder)
inlineprotected

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

AEpTransactionRow Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

AEpTransactionRow Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.NewRowTyped ( bool  AWithDefaultValues)
inline

create a new typed row

◆ RemoveColumnsNotInTableTemplate()

void Ict.Common.Data.TTypedDataTable.RemoveColumnsNotInTableTemplate ( DataTable  ATableTemplate)
inlineinherited

remove columns that are not needed

Parameters
ATableTemplatethis table only contains the columns that should be kept

◆ ResetStaticVariables()

static void Ict.Common.Data.TTypedDataTable.ResetStaticVariables ( )
inlinestaticinherited

reset the static variables for each Web Request call.

Member Data Documentation

◆ ColumnAccountName

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnAccountName

This can be a summary of title, first name, last name etc. of the other party.

◆ ColumnAccountNameId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnAccountNameId = 5
static

used for generic TTypedDataTable functions

◆ ColumnBankAccountNumber

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnBankAccountNumber

The account number in the bank of the other party.

◆ ColumnBankAccountNumberId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnBankAccountNumberId = 12
static

used for generic TTypedDataTable functions

◆ ColumnBic

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnBic

BIC (Bank Identifier Code)/SWIFT code of the other party.

◆ ColumnBicId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnBicId = 11
static

used for generic TTypedDataTable functions

◆ ColumnBranchCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnBranchCode

The bank code/branch code/sort code of the other party.

◆ ColumnBranchCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnBranchCodeId = 10
static

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnCreatedBy

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnCreatedById = 20
static

used for generic TTypedDataTable functions

◆ ColumnDateCreated

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDateCreated

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDateCreatedId = 19
static

used for generic TTypedDataTable functions

◆ ColumnDateEffective

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDateEffective

The date when this transaction became valid or available.

◆ ColumnDateEffectiveId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDateEffectiveId = 17
static

used for generic TTypedDataTable functions

◆ ColumnDateModified

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDateModified

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDateModifiedId = 21
static

used for generic TTypedDataTable functions

◆ ColumnDescription

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDescription

This description was given when the transfer was initiated.

◆ ColumnDescriptionId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDescriptionId = 16
static

used for generic TTypedDataTable functions

◆ ColumnDetailKey

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDetailKey

a transaction can be split in order to support mixed GL and Gift records

◆ ColumnDetailKeyId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnDetailKeyId = 2
static

used for generic TTypedDataTable functions

◆ ColumnEpMatchKey

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnEpMatchKey

set this value to the match (either new match or set automatically)

◆ ColumnEpMatchKeyId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnEpMatchKeyId = 18
static

used for generic TTypedDataTable functions

◆ ColumnFirstName

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnFirstName

◆ ColumnFirstNameId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnFirstNameId = 7
static

used for generic TTypedDataTable functions

◆ ColumnIban

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnIban

The IBAN (International Bank Account Number) of the other party.

◆ ColumnIbanId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnIbanId = 13
static

used for generic TTypedDataTable functions

◆ ColumnLastName

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnLastName

the name of the other party

◆ ColumnLastNameId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnLastNameId = 9
static

used for generic TTypedDataTable functions

◆ ColumnMatchText

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnMatchText

this is a calculated text that uniquely identifies this transaction so that it can be recognised next month. TODO: should have a link table a_ep_match between a_ep_transaction and a_ep_match_detail

◆ ColumnMatchTextId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnMatchTextId = 4
static

used for generic TTypedDataTable functions

◆ ColumnMiddleName

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnMiddleName

◆ ColumnMiddleNameId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnMiddleNameId = 8
static

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnModificationId

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnModificationIdId = 23
static

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnModifiedBy

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnModifiedById = 22
static

used for generic TTypedDataTable functions

◆ ColumnNumberOnPaperStatement

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnNumberOnPaperStatement

can be different from order, since the paper statements can have different order than the electronic statement

◆ ColumnNumberOnPaperStatementId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnNumberOnPaperStatementId = 3
static

used for generic TTypedDataTable functions

◆ ColumnOrder

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnOrder

to complete the primary key

◆ ColumnOrderId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnOrderId = 1
static

used for generic TTypedDataTable functions

◆ ColumnStatementKey

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnStatementKey

this transaction belongs to that statement

◆ ColumnStatementKeyId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnStatementKeyId = 0
static

used for generic TTypedDataTable functions

◆ ColumnTitle

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnTitle

◆ ColumnTitleId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnTitleId = 6
static

used for generic TTypedDataTable functions

◆ ColumnTransactionAmount

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnTransactionAmount

The amount in the currency of the bank account.

◆ ColumnTransactionAmountId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnTransactionAmountId = 15
static

used for generic TTypedDataTable functions

◆ ColumnTransactionTypeCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnTransactionTypeCode

This can be recurring income, recurring payment, income, payment, direct debit, etc.

◆ ColumnTransactionTypeCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.ColumnTransactionTypeCodeId = 14
static

used for generic TTypedDataTable functions

◆ DontThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataTable.DontThrowAwayAfterSubmitChanges = false
inherited

if you want no warning about that the datatable should be cleared after submitchanges. in some cases you must keep the data, eg when you need the new keys after INSERT

◆ TableId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.TableId = 66
static

TableId for Ict.Common.Data generic functions.

◆ TableInfo

SortedList<short, TTypedTableInfo> Ict.Common.Data.TTypedDataTable.TableInfo = new SortedList <short, TTypedTableInfo>()
staticprotectedinherited

stores information about typed tables

◆ ThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataTable.ThrowAwayAfterSubmitChanges = false
inherited

if you want the datatable to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges.

Property Documentation

◆ Count

int Ict.Common.Data.TTypedDataTable.Count
getinherited

the number of rows in the current table

◆ TableDBLabel

override string Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.TableDBLabel
get

instance property to get the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about)

◆ this[int i]

AEpTransactionRow Ict.Petra.Shared.MFinance.Account.Data.AEpTransactionTable.this[int i]
get

Access a typed row by index.


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