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

Ad hoc exchange rates. More...

Inheritance diagram for Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable:
Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable Ict.Common.Data.TTypedDataTable

Public Member Functions

 ExchangeRateTDSADailyExchangeRateUsageTable ()
 constructor More...
 
 ExchangeRateTDSADailyExchangeRateUsageTable (string ATablename)
 constructor More...
 
 ExchangeRateTDSADailyExchangeRateUsageTable (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...
 
new ExchangeRateTDSADailyExchangeRateUsageRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
new ExchangeRateTDSADailyExchangeRateUsageRow NewRowTyped ()
 create a new typed row, always with default values More...
 
new ExchangeRateTDSADailyExchangeRateUsageTable 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 new string GetTableName ()
 return the CamelCase name of the table More...
 
static new string GetTableDBName ()
 return the name of the table as it is used in the database More...
 
static new 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 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 GetBatchNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetBatchNumberLength ()
 get character length for column More...
 
static string GetBatchNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetJournalNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetJournalNumberLength ()
 get character length for column More...
 
static string GetJournalNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetBatchStatusDBName ()
 get the name of the field in the database for this column More...
 
static short GetBatchStatusLength ()
 get character length for column More...
 
static string GetBatchStatusHelp ()
 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 GetTableSourceDBName ()
 get the name of the field in the database for this column More...
 
static short GetTableSourceLength ()
 get character length for column More...
 
static string GetTableSourceHelp ()
 get the help text for the field in the database for this column More...
 
static string GetBatchYearDBName ()
 get the name of the field in the database for this column More...
 
static short GetBatchYearLength ()
 get character length for column More...
 
static string GetBatchYearHelp ()
 get the help text for the field in the database for this column More...
 
static string GetBatchPeriodDBName ()
 get the name of the field in the database for this column More...
 
static short GetBatchPeriodLength ()
 get character length for column More...
 
static string GetBatchPeriodHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTableName (short ATableNumber)
 the table name in CamelCase 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 string GetFromCurrencyCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetFromCurrencyCodeLength ()
 get character length for column More...
 
static string GetFromCurrencyCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetToCurrencyCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetToCurrencyCodeLength ()
 get character length for column More...
 
static string GetToCurrencyCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetRateOfExchangeDBName ()
 get the name of the field in the database for this column More...
 
static short GetRateOfExchangeLength ()
 get character length for column More...
 
static string GetRateOfExchangeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateEffectiveFromDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateEffectiveFromLength ()
 get character length for column More...
 
static string GetDateEffectiveFromHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTimeEffectiveFromDBName ()
 get the name of the field in the database for this column More...
 
static short GetTimeEffectiveFromLength ()
 get character length for column More...
 
static string GetTimeEffectiveFromHelp ()
 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 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 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 ColumnLedgerNumber
 The Ledger number that references this rate. More...
 
DataColumn ColumnBatchNumber
 The Batch number that references this rate. More...
 
DataColumn ColumnJournalNumber
 The Journal number that references this rate. Value is 0 for Gift Batch. More...
 
DataColumn ColumnBatchStatus
 The Batch status of the batch that references this rate. More...
 
DataColumn ColumnDescription
 The Batch or Journal description that references this rate. More...
 
DataColumn ColumnTableSource
 The data table that contributed this row. One of 'GB', 'J' or 'DEX'. More...
 
DataColumn ColumnBatchYear
 The Batch Year in which this row occurs. More...
 
DataColumn ColumnBatchPeriod
 The Batch Period of the Batch Year in which this row occurs. More...
 
DataColumn ColumnFromCurrencyCode
 Defines the currency being exchanged. More...
 
DataColumn ColumnToCurrencyCode
 Defines which currency is being changed to. More...
 
DataColumn ColumnRateOfExchange
 The rate of exchange. More...
 
DataColumn ColumnDateEffectiveFrom
 Date the exchange rate becomes effective. More...
 
DataColumn ColumnTimeEffectiveFrom
 The date and time. 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 new readonly short TableId = 132
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnLedgerNumberId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBatchNumberId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnJournalNumberId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBatchStatusId = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDescriptionId = 14
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTableSourceId = 15
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBatchYearId = 16
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnBatchPeriodId = 17
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFromCurrencyCodeId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnToCurrencyCodeId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnRateOfExchangeId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateEffectiveFromId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTimeEffectiveFromId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 9
 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

new ExchangeRateTDSADailyExchangeRateUsageRow 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

Ad hoc exchange rates.

Constructor & Destructor Documentation

◆ ExchangeRateTDSADailyExchangeRateUsageTable() [1/3]

Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ExchangeRateTDSADailyExchangeRateUsageTable ( )
inline

constructor

◆ ExchangeRateTDSADailyExchangeRateUsageTable() [2/3]

Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ExchangeRateTDSADailyExchangeRateUsageTable ( string  ATablename)
inline

constructor

◆ ExchangeRateTDSADailyExchangeRateUsageTable() [3/3]

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

get an odbc parameter for the given column

Reimplemented from Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.

◆ 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

◆ GetBatchNumberDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchNumberDBName ( )
inlinestatic

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

◆ GetBatchNumberHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchNumberHelp ( )
inlinestatic

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

◆ GetBatchNumberLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchNumberLength ( )
inlinestatic

get character length for column

◆ GetBatchPeriodDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchPeriodDBName ( )
inlinestatic

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

◆ GetBatchPeriodHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchPeriodHelp ( )
inlinestatic

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

◆ GetBatchPeriodLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchPeriodLength ( )
inlinestatic

get character length for column

◆ GetBatchStatusDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchStatusDBName ( )
inlinestatic

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

◆ GetBatchStatusHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchStatusHelp ( )
inlinestatic

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

◆ GetBatchStatusLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchStatusLength ( )
inlinestatic

get character length for column

◆ GetBatchYearDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchYearDBName ( )
inlinestatic

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

◆ GetBatchYearHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchYearHelp ( )
inlinestatic

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

◆ GetBatchYearLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetBatchYearLength ( )
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()

new ExchangeRateTDSADailyExchangeRateUsageTable Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.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.ADailyExchangeRateTable.GetCreatedByDBName ( )
inlinestaticinherited

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

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetCreatedByHelp ( )
inlinestaticinherited

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetCreatedByLength ( )
inlinestaticinherited

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.ADailyExchangeRateTable.GetDateCreatedDBName ( )
inlinestaticinherited

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

◆ GetDateCreatedHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateCreatedHelp ( )
inlinestaticinherited

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

◆ GetDateCreatedLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateCreatedLength ( )
inlinestaticinherited

get character length for column

◆ GetDateEffectiveFromDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateEffectiveFromDBName ( )
inlinestaticinherited

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

◆ GetDateEffectiveFromHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateEffectiveFromHelp ( )
inlinestaticinherited

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

◆ GetDateEffectiveFromLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateEffectiveFromLength ( )
inlinestaticinherited

get character length for column

◆ GetDateModifiedDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateModifiedDBName ( )
inlinestaticinherited

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

◆ GetDateModifiedHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateModifiedHelp ( )
inlinestaticinherited

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

◆ GetDateModifiedLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetDateModifiedLength ( )
inlinestaticinherited

get character length for column

◆ GetDescriptionDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetDescriptionDBName ( )
inlinestatic

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

◆ GetDescriptionHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetDescriptionHelp ( )
inlinestatic

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

◆ GetDescriptionLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetDescriptionLength ( )
inlinestatic

get character length for column

◆ GetFromCurrencyCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetFromCurrencyCodeDBName ( )
inlinestaticinherited

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

◆ GetFromCurrencyCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetFromCurrencyCodeHelp ( )
inlinestaticinherited

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

◆ GetFromCurrencyCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetFromCurrencyCodeLength ( )
inlinestaticinherited

get character length for column

◆ GetJournalNumberDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetJournalNumberDBName ( )
inlinestatic

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

◆ GetJournalNumberHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetJournalNumberHelp ( )
inlinestatic

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

◆ GetJournalNumberLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetJournalNumberLength ( )
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.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetLedgerNumberDBName ( )
inlinestatic

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

◆ GetLedgerNumberHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetLedgerNumberHelp ( )
inlinestatic

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

◆ GetLedgerNumberLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.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.ADailyExchangeRateTable.GetModificationIdDBName ( )
inlinestaticinherited

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

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetModificationIdHelp ( )
inlinestaticinherited

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

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetModificationIdLength ( )
inlinestaticinherited

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetModifiedByDBName ( )
inlinestaticinherited

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

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetModifiedByHelp ( )
inlinestaticinherited

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

◆ GetModifiedByLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetModifiedByLength ( )
inlinestaticinherited

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

◆ GetRateOfExchangeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetRateOfExchangeDBName ( )
inlinestaticinherited

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

◆ GetRateOfExchangeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetRateOfExchangeHelp ( )
inlinestaticinherited

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

◆ GetRateOfExchangeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetRateOfExchangeLength ( )
inlinestaticinherited

get character length for column

◆ GetTableByName()

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

the table name in CamelCase

◆ GetTableDBLabel()

static new string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.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 new string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetTableDBName ( )
inlinestatic

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

◆ GetTableName() [1/2]

static new string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.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

◆ GetTableSourceDBName()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetTableSourceDBName ( )
inlinestatic

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

◆ GetTableSourceHelp()

static string Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetTableSourceHelp ( )
inlinestatic

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

◆ GetTableSourceLength()

static short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.GetTableSourceLength ( )
inlinestatic

get character length for column

◆ GetTimeEffectiveFromDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetTimeEffectiveFromDBName ( )
inlinestaticinherited

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

◆ GetTimeEffectiveFromHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetTimeEffectiveFromHelp ( )
inlinestaticinherited

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

◆ GetTimeEffectiveFromLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetTimeEffectiveFromLength ( )
inlinestaticinherited

get character length for column

◆ GetToCurrencyCodeDBName()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetToCurrencyCodeDBName ( )
inlinestaticinherited

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

◆ GetToCurrencyCodeHelp()

static string Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetToCurrencyCodeHelp ( )
inlinestaticinherited

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

◆ GetToCurrencyCodeLength()

static short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.GetToCurrencyCodeLength ( )
inlinestaticinherited

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.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.InitClass ( )
inlineprotectedvirtual

◆ InitVars()

override void Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.InitVars ( )
inlinevirtual

assign columns to properties, set primary key

Reimplemented from Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.

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

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

new ExchangeRateTDSADailyExchangeRateUsageRow Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

new ExchangeRateTDSADailyExchangeRateUsageRow Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.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

◆ ColumnBatchNumber

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchNumber

The Batch number that references this rate.

◆ ColumnBatchNumberId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchNumberId = 11
static

used for generic TTypedDataTable functions

◆ ColumnBatchPeriod

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchPeriod

The Batch Period of the Batch Year in which this row occurs.

◆ ColumnBatchPeriodId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchPeriodId = 17
static

used for generic TTypedDataTable functions

◆ ColumnBatchStatus

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchStatus

The Batch status of the batch that references this rate.

◆ ColumnBatchStatusId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchStatusId = 13
static

used for generic TTypedDataTable functions

◆ ColumnBatchYear

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchYear

The Batch Year in which this row occurs.

◆ ColumnBatchYearId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnBatchYearId = 16
static

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnCreatedBy
inherited

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnCreatedById = 6
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateCreated

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnDateCreated
inherited

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnDateCreatedId = 5
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateEffectiveFrom

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnDateEffectiveFrom
inherited

Date the exchange rate becomes effective.

◆ ColumnDateEffectiveFromId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnDateEffectiveFromId = 3
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateModified

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnDateModified
inherited

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnDateModifiedId = 7
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDescription

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnDescription

The Batch or Journal description that references this rate.

◆ ColumnDescriptionId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnDescriptionId = 14
static

used for generic TTypedDataTable functions

◆ ColumnFromCurrencyCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnFromCurrencyCode
inherited

Defines the currency being exchanged.

◆ ColumnFromCurrencyCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnFromCurrencyCodeId = 0
staticinherited

used for generic TTypedDataTable functions

◆ ColumnJournalNumber

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnJournalNumber

The Journal number that references this rate. Value is 0 for Gift Batch.

◆ ColumnJournalNumberId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnJournalNumberId = 12
static

used for generic TTypedDataTable functions

◆ ColumnLedgerNumber

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnLedgerNumber

The Ledger number that references this rate.

◆ ColumnLedgerNumberId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnLedgerNumberId = 10
static

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnModificationId
inherited

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnModificationIdId = 9
staticinherited

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnModifiedBy
inherited

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnModifiedById = 8
staticinherited

used for generic TTypedDataTable functions

◆ ColumnRateOfExchange

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnRateOfExchange
inherited

The rate of exchange.

◆ ColumnRateOfExchangeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnRateOfExchangeId = 2
staticinherited

used for generic TTypedDataTable functions

◆ ColumnTableSource

DataColumn Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnTableSource

The data table that contributed this row. One of 'GB', 'J' or 'DEX'.

◆ ColumnTableSourceId

readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.ColumnTableSourceId = 15
static

used for generic TTypedDataTable functions

◆ ColumnTimeEffectiveFrom

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnTimeEffectiveFrom
inherited

The date and time.

◆ ColumnTimeEffectiveFromId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnTimeEffectiveFromId = 4
staticinherited

used for generic TTypedDataTable functions

◆ ColumnToCurrencyCode

DataColumn Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnToCurrencyCode
inherited

Defines which currency is being changed to.

◆ ColumnToCurrencyCodeId

readonly short Ict.Petra.Shared.MFinance.Account.Data.ADailyExchangeRateTable.ColumnToCurrencyCodeId = 1
staticinherited

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

new readonly short Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.TableId = 132
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.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.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]

new ExchangeRateTDSADailyExchangeRateUsageRow Ict.Petra.Shared.MFinance.CrossLedger.Data.ExchangeRateTDSADailyExchangeRateUsageTable.this[int i]
get

Access a typed row by index.


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