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

This contains the settings for one specific bank account. More...

Inheritance diagram for Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable:
Ict.Common.Data.TTypedDataTable

Public Member Functions

 AEpAccountTable ()
 constructor More...
 
 AEpAccountTable (string ATablename)
 constructor More...
 
 AEpAccountTable (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...
 
AEpAccountRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
AEpAccountRow NewRowTyped ()
 create a new typed row, always with default values More...
 
AEpAccountTable 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 GetBankingDetailsKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetBankingDetailsKeyLength ()
 get character length for column More...
 
static string GetBankingDetailsKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetLedgerNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetLedgerNumberLength ()
 get character length for column More...
 
static string GetLedgerNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAccountCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetAccountCodeLength ()
 get character length for column More...
 
static string GetAccountCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetImportfilePathDBName ()
 get the name of the field in the database for this column More...
 
static short GetImportfilePathLength ()
 get character length for column More...
 
static string GetImportfilePathHelp ()
 get the help text for the field in the database for this column More...
 
static string GetExportfilePathDBName ()
 get the name of the field in the database for this column More...
 
static short GetExportfilePathLength ()
 get character length for column More...
 
static string GetExportfilePathHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPluginFilenameDBName ()
 get the name of the field in the database for this column More...
 
static short GetPluginFilenameLength ()
 get character length for column More...
 
static string GetPluginFilenameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPluginParametersDBName ()
 get the name of the field in the database for this column More...
 
static short GetPluginParametersLength ()
 get character length for column More...
 
static string GetPluginParametersHelp ()
 get the help text for the field in the database for this column More...
 
static string GetConfidentialGiftFlagDBName ()
 get the name of the field in the database for this column More...
 
static short GetConfidentialGiftFlagLength ()
 get character length for column More...
 
static string GetConfidentialGiftFlagHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTaxDeductibleDBName ()
 get the name of the field in the database for this column More...
 
static short GetTaxDeductibleLength ()
 get character length for column More...
 
static string GetTaxDeductibleHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMotivationGroupCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetMotivationGroupCodeLength ()
 get character length for column More...
 
static string GetMotivationGroupCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMotivationDetailCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetMotivationDetailCodeLength ()
 get character length for column More...
 
static string GetMotivationDetailCodeHelp ()
 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 ColumnBankingDetailsKey
 The bank account whose settings are defined here. More...
 
DataColumn ColumnLedgerNumber
 The bank account has to be assigned to a ledger. More...
 
DataColumn ColumnAccountCode
 The GL account for the bank account. More...
 
DataColumn ColumnImportfilePath
 This tells the plugin where to find the statement files for this bank account. More...
 
DataColumn ColumnExportfilePath
 This tells the plugin where to write any generated files for this bank account. More...
 
DataColumn ColumnPluginFilename
 This can be either the name of an executable or a DLL that is able to process the country (or bank) specific bank statements. More...
 
DataColumn ColumnPluginParameters
 Other parameters for the plugin can be stored here. More...
 
DataColumn ColumnConfidentialGiftFlag
 if this is true, all gifts to this bank account get this flag set More...
 
DataColumn ColumnTaxDeductible
 Whether the gifts to this bank account are tax deductible. More...
 
DataColumn ColumnMotivationGroupCode
 This defines a default motivation group. More...
 
DataColumn ColumnMotivationDetailCode
 This defines a default motivation detail within a motivation group. 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 = 63
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnBankingDetailsKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnLedgerNumberId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAccountCodeId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnImportfilePathId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnExportfilePathId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPluginFilenameId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPluginParametersId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnConfidentialGiftFlagId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTaxDeductibleId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMotivationGroupCodeId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMotivationDetailCodeId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 14
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 15
 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

AEpAccountRow 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

This contains the settings for one specific bank account.

Constructor & Destructor Documentation

◆ AEpAccountTable() [1/3]

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

constructor

◆ AEpAccountTable() [2/3]

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

constructor

◆ AEpAccountTable() [3/3]

Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.AEpAccountTable ( 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.AEpAccountTable.CreateOdbcParameter ( Int32  AColumnNr)
inlinevirtual

get an odbc parameter for the given column

Implements Ict.Common.Data.TTypedDataTable.

◆ 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

◆ GetAccountCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetAccountCodeDBName ( )
inlinestatic

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

◆ GetAccountCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetAccountCodeHelp ( )
inlinestatic

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

◆ GetAccountCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetAccountCodeLength ( )
inlinestatic

get character length for column

◆ GetBankingDetailsKeyDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetBankingDetailsKeyDBName ( )
inlinestatic

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

◆ GetBankingDetailsKeyHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetBankingDetailsKeyHelp ( )
inlinestatic

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

◆ GetBankingDetailsKeyLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetBankingDetailsKeyLength ( )
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()

AEpAccountTable Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.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

◆ GetConfidentialGiftFlagDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetConfidentialGiftFlagDBName ( )
inlinestatic

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

◆ GetConfidentialGiftFlagHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetConfidentialGiftFlagHelp ( )
inlinestatic

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

◆ GetConfidentialGiftFlagLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetConfidentialGiftFlagLength ( )
inlinestatic

get character length for column

◆ GetCreatedByDBName()

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

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

◆ GetCreatedByHelp()

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

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.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.AEpAccountTable.GetDateCreatedDBName ( )
inlinestatic

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

◆ GetDateCreatedHelp()

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

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

◆ GetDateCreatedLength()

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

get character length for column

◆ GetDateModifiedDBName()

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

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

◆ GetDateModifiedHelp()

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

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

◆ GetDateModifiedLength()

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

get character length for column

◆ GetExportfilePathDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetExportfilePathDBName ( )
inlinestatic

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

◆ GetExportfilePathHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetExportfilePathHelp ( )
inlinestatic

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

◆ GetExportfilePathLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetExportfilePathLength ( )
inlinestatic

get character length for column

◆ GetImportfilePathDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetImportfilePathDBName ( )
inlinestatic

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

◆ GetImportfilePathHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetImportfilePathHelp ( )
inlinestatic

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

◆ GetImportfilePathLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetImportfilePathLength ( )
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

◆ GetLedgerNumberDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetLedgerNumberDBName ( )
inlinestatic

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

◆ GetLedgerNumberHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetLedgerNumberHelp ( )
inlinestatic

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

◆ GetLedgerNumberLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetLedgerNumberLength ( )
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

◆ GetModificationIdDBName()

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

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

◆ GetModificationIdHelp()

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

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

◆ GetModificationIdLength()

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

get character length for column

◆ GetModifiedByDBName()

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

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

◆ GetModifiedByHelp()

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

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

◆ GetModifiedByLength()

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

get character length for column

◆ GetMotivationDetailCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetMotivationDetailCodeDBName ( )
inlinestatic

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

◆ GetMotivationDetailCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetMotivationDetailCodeHelp ( )
inlinestatic

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

◆ GetMotivationDetailCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetMotivationDetailCodeLength ( )
inlinestatic

get character length for column

◆ GetMotivationGroupCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetMotivationGroupCodeDBName ( )
inlinestatic

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

◆ GetMotivationGroupCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetMotivationGroupCodeHelp ( )
inlinestatic

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

◆ GetMotivationGroupCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetMotivationGroupCodeLength ( )
inlinestatic

get character length for column

◆ GetPluginFilenameDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetPluginFilenameDBName ( )
inlinestatic

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

◆ GetPluginFilenameHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetPluginFilenameHelp ( )
inlinestatic

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

◆ GetPluginFilenameLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetPluginFilenameLength ( )
inlinestatic

get character length for column

◆ GetPluginParametersDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetPluginParametersDBName ( )
inlinestatic

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

◆ GetPluginParametersHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetPluginParametersHelp ( )
inlinestatic

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

◆ GetPluginParametersLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetPluginParametersLength ( )
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

◆ 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.AEpAccountTable.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.AEpAccountTable.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.AEpAccountTable.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

◆ GetTaxDeductibleDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetTaxDeductibleDBName ( )
inlinestatic

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

◆ GetTaxDeductibleHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetTaxDeductibleHelp ( )
inlinestatic

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

◆ GetTaxDeductibleLength()

static short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.GetTaxDeductibleLength ( )
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.AEpAccountTable.InitClass ( )
inlineprotectedvirtual

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

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

assign columns to properties, set primary key

Implements Ict.Common.Data.TTypedDataTable.

◆ 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.AEpAccountTable.NewRowFromBuilder ( System.Data.DataRowBuilder  builder)
inlineprotected

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

AEpAccountRow Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

AEpAccountRow Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.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

◆ ColumnAccountCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnAccountCode

The GL account for the bank account.

◆ ColumnAccountCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnAccountCodeId = 2
static

used for generic TTypedDataTable functions

◆ ColumnBankingDetailsKey

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnBankingDetailsKey

The bank account whose settings are defined here.

◆ ColumnBankingDetailsKeyId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnBankingDetailsKeyId = 0
static

used for generic TTypedDataTable functions

◆ ColumnConfidentialGiftFlag

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnConfidentialGiftFlag

if this is true, all gifts to this bank account get this flag set

◆ ColumnConfidentialGiftFlagId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnConfidentialGiftFlagId = 7
static

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

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

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnCreatedById = 12
static

used for generic TTypedDataTable functions

◆ ColumnDateCreated

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

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnDateCreatedId = 11
static

used for generic TTypedDataTable functions

◆ ColumnDateModified

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

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnDateModifiedId = 13
static

used for generic TTypedDataTable functions

◆ ColumnExportfilePath

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnExportfilePath

This tells the plugin where to write any generated files for this bank account.

◆ ColumnExportfilePathId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnExportfilePathId = 4
static

used for generic TTypedDataTable functions

◆ ColumnImportfilePath

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnImportfilePath

This tells the plugin where to find the statement files for this bank account.

◆ ColumnImportfilePathId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnImportfilePathId = 3
static

used for generic TTypedDataTable functions

◆ ColumnLedgerNumber

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnLedgerNumber

The bank account has to be assigned to a ledger.

◆ ColumnLedgerNumberId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnLedgerNumberId = 1
static

used for generic TTypedDataTable functions

◆ ColumnModificationId

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

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnModificationIdId = 15
static

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

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

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnModifiedById = 14
static

used for generic TTypedDataTable functions

◆ ColumnMotivationDetailCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnMotivationDetailCode

This defines a default motivation detail within a motivation group.

◆ ColumnMotivationDetailCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnMotivationDetailCodeId = 10
static

used for generic TTypedDataTable functions

◆ ColumnMotivationGroupCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnMotivationGroupCode

This defines a default motivation group.

◆ ColumnMotivationGroupCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnMotivationGroupCodeId = 9
static

used for generic TTypedDataTable functions

◆ ColumnPluginFilename

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnPluginFilename

This can be either the name of an executable or a DLL that is able to process the country (or bank) specific bank statements.

◆ ColumnPluginFilenameId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnPluginFilenameId = 5
static

used for generic TTypedDataTable functions

◆ ColumnPluginParameters

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnPluginParameters

Other parameters for the plugin can be stored here.

◆ ColumnPluginParametersId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnPluginParametersId = 6
static

used for generic TTypedDataTable functions

◆ ColumnTaxDeductible

DataColumn Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnTaxDeductible

Whether the gifts to this bank account are tax deductible.

◆ ColumnTaxDeductibleId

readonly short Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.ColumnTaxDeductibleId = 8
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.AEpAccountTable.TableId = 63
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.AEpAccountTable.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]

AEpAccountRow Ict.Petra.Shared.MFinance.Account.Data.AEpAccountTable.this[int i]
get

Access a typed row by index.


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