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

An invoice or credit note consists out of several items, or details. This table contains all these details. More...

Inheritance diagram for Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable:
Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable Ict.Common.Data.TTypedDataTable

Public Member Functions

 AccountsPayableTDSAApDocumentDetailTable ()
 constructor More...
 
 AccountsPayableTDSAApDocumentDetailTable (string ATablename)
 constructor More...
 
 AccountsPayableTDSAApDocumentDetailTable (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 AccountsPayableTDSAApDocumentDetailRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
new AccountsPayableTDSAApDocumentDetailRow NewRowTyped ()
 create a new typed row, always with default values More...
 
new AccountsPayableTDSAApDocumentDetailTable 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 GetAnalAttrDBName ()
 get the name of the field in the database for this column More...
 
static short GetAnalAttrLength ()
 get character length for column More...
 
static string GetAnalAttrHelp ()
 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 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 GetApDocumentIdDBName ()
 get the name of the field in the database for this column More...
 
static short GetApDocumentIdLength ()
 get character length for column More...
 
static string GetApDocumentIdHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDetailNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetDetailNumberLength ()
 get character length for column More...
 
static string GetDetailNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDetailApprovedDBName ()
 get the name of the field in the database for this column More...
 
static short GetDetailApprovedLength ()
 get character length for column More...
 
static string GetDetailApprovedHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCostCentreCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetCostCentreCodeLength ()
 get character length for column More...
 
static string GetCostCentreCodeHelp ()
 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 GetItemRefDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemRefLength ()
 get character length for column More...
 
static string GetItemRefHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNarrativeDBName ()
 get the name of the field in the database for this column More...
 
static short GetNarrativeLength ()
 get character length for column More...
 
static string GetNarrativeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAmountDBName ()
 get the name of the field in the database for this column More...
 
static short GetAmountLength ()
 get character length for column More...
 
static string GetAmountHelp ()
 get the help text for the field in the database for this column More...
 
static string GetApprovalDateDBName ()
 get the name of the field in the database for this column More...
 
static short GetApprovalDateLength ()
 get character length for column More...
 
static string GetApprovalDateHelp ()
 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 ColumnAnalAttr
 
DataColumn ColumnLedgerNumber
 Reference to the ledger. More...
 
DataColumn ColumnApDocumentId
 Reference to the document. More...
 
DataColumn ColumnDetailNumber
 A unique number for this detail for its document. More...
 
DataColumn ColumnDetailApproved
 Indicates if this detail has been approved or not. More...
 
DataColumn ColumnCostCentreCode
 Reference to the cost centre to use for this detail. More...
 
DataColumn ColumnAccountCode
 Reference to the account to use for this detail. More...
 
DataColumn ColumnItemRef
 Some other reference to the item. More...
 
DataColumn ColumnNarrative
 A narrative about what this is. More...
 
DataColumn ColumnAmount
 The amount of money this detail is worth. More...
 
DataColumn ColumnApprovalDate
 The date when this detail was approved. 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 = 173
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnAnalAttrId = 15
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnLedgerNumberId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnApDocumentIdId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDetailNumberId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDetailApprovedId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCostCentreCodeId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAccountCodeId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemRefId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNarrativeId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAmountId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnApprovalDateId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 14
 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 AccountsPayableTDSAApDocumentDetailRow 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

An invoice or credit note consists out of several items, or details. This table contains all these details.

Constructor & Destructor Documentation

◆ AccountsPayableTDSAApDocumentDetailTable() [1/3]

Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.AccountsPayableTDSAApDocumentDetailTable ( )
inline

constructor

◆ AccountsPayableTDSAApDocumentDetailTable() [2/3]

Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.AccountsPayableTDSAApDocumentDetailTable ( string  ATablename)
inline

constructor

◆ AccountsPayableTDSAApDocumentDetailTable() [3/3]

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

get an odbc parameter for the given column

Reimplemented from Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.

◆ 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.AP.Data.AApDocumentDetailTable.GetAccountCodeDBName ( )
inlinestaticinherited

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

◆ GetAccountCodeHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetAccountCodeHelp ( )
inlinestaticinherited

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

◆ GetAccountCodeLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetAccountCodeLength ( )
inlinestaticinherited

get character length for column

◆ GetAmountDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetAmountDBName ( )
inlinestaticinherited

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

◆ GetAmountHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetAmountHelp ( )
inlinestaticinherited

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

◆ GetAmountLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetAmountLength ( )
inlinestaticinherited

get character length for column

◆ GetAnalAttrDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.GetAnalAttrDBName ( )
inlinestatic

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

◆ GetAnalAttrHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.GetAnalAttrHelp ( )
inlinestatic

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

◆ GetAnalAttrLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.GetAnalAttrLength ( )
inlinestatic

get character length for column

◆ GetApDocumentIdDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetApDocumentIdDBName ( )
inlinestaticinherited

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

◆ GetApDocumentIdHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetApDocumentIdHelp ( )
inlinestaticinherited

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

◆ GetApDocumentIdLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetApDocumentIdLength ( )
inlinestaticinherited

get character length for column

◆ GetApprovalDateDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetApprovalDateDBName ( )
inlinestaticinherited

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

◆ GetApprovalDateHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetApprovalDateHelp ( )
inlinestaticinherited

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

◆ GetApprovalDateLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetApprovalDateLength ( )
inlinestaticinherited

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 AccountsPayableTDSAApDocumentDetailTable Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.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

◆ GetCostCentreCodeDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetCostCentreCodeDBName ( )
inlinestaticinherited

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

◆ GetCostCentreCodeHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetCostCentreCodeHelp ( )
inlinestaticinherited

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

◆ GetCostCentreCodeLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetCostCentreCodeLength ( )
inlinestaticinherited

get character length for column

◆ GetCreatedByDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetCreatedByDBName ( )
inlinestaticinherited

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

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetCreatedByHelp ( )
inlinestaticinherited

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.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.AP.Data.AApDocumentDetailTable.GetDateCreatedDBName ( )
inlinestaticinherited

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

◆ GetDateCreatedHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDateCreatedHelp ( )
inlinestaticinherited

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

◆ GetDateCreatedLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDateCreatedLength ( )
inlinestaticinherited

get character length for column

◆ GetDateModifiedDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDateModifiedDBName ( )
inlinestaticinherited

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

◆ GetDateModifiedHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDateModifiedHelp ( )
inlinestaticinherited

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

◆ GetDateModifiedLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDateModifiedLength ( )
inlinestaticinherited

get character length for column

◆ GetDetailApprovedDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDetailApprovedDBName ( )
inlinestaticinherited

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

◆ GetDetailApprovedHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDetailApprovedHelp ( )
inlinestaticinherited

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

◆ GetDetailApprovedLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDetailApprovedLength ( )
inlinestaticinherited

get character length for column

◆ GetDetailNumberDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDetailNumberDBName ( )
inlinestaticinherited

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

◆ GetDetailNumberHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDetailNumberHelp ( )
inlinestaticinherited

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

◆ GetDetailNumberLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetDetailNumberLength ( )
inlinestaticinherited

get character length for column

◆ GetItemRefDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetItemRefDBName ( )
inlinestaticinherited

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

◆ GetItemRefHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetItemRefHelp ( )
inlinestaticinherited

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

◆ GetItemRefLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetItemRefLength ( )
inlinestaticinherited

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.AP.Data.AApDocumentDetailTable.GetLedgerNumberDBName ( )
inlinestaticinherited

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

◆ GetLedgerNumberHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetLedgerNumberHelp ( )
inlinestaticinherited

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

◆ GetLedgerNumberLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetLedgerNumberLength ( )
inlinestaticinherited

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.AP.Data.AApDocumentDetailTable.GetModificationIdDBName ( )
inlinestaticinherited

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

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetModificationIdHelp ( )
inlinestaticinherited

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

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetModificationIdLength ( )
inlinestaticinherited

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetModifiedByDBName ( )
inlinestaticinherited

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

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetModifiedByHelp ( )
inlinestaticinherited

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

◆ GetModifiedByLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetModifiedByLength ( )
inlinestaticinherited

get character length for column

◆ GetNarrativeDBName()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetNarrativeDBName ( )
inlinestaticinherited

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

◆ GetNarrativeHelp()

static string Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetNarrativeHelp ( )
inlinestaticinherited

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

◆ GetNarrativeLength()

static short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.GetNarrativeLength ( )
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

◆ GetTableByName()

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

the table name in CamelCase

◆ GetTableDBLabel()

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

◆ 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.AP.Data.AccountsPayableTDSAApDocumentDetailTable.InitClass ( )
inlineprotectedvirtual

create the columns

Reimplemented from Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.

◆ InitVars()

override void Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.InitVars ( )
inlinevirtual

assign columns to properties, set primary key

Reimplemented from Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.

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

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

new AccountsPayableTDSAApDocumentDetailRow Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

new AccountsPayableTDSAApDocumentDetailRow Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.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.AP.Data.AApDocumentDetailTable.ColumnAccountCode
inherited

Reference to the account to use for this detail.

◆ ColumnAccountCodeId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnAccountCodeId = 5
staticinherited

used for generic TTypedDataTable functions

◆ ColumnAmount

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnAmount
inherited

The amount of money this detail is worth.

◆ ColumnAmountId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnAmountId = 8
staticinherited

used for generic TTypedDataTable functions

◆ ColumnAnalAttr

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.ColumnAnalAttr

◆ ColumnAnalAttrId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.ColumnAnalAttrId = 15
static

used for generic TTypedDataTable functions

◆ ColumnApDocumentId

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnApDocumentId
inherited

Reference to the document.

◆ ColumnApDocumentIdId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnApDocumentIdId = 1
staticinherited

used for generic TTypedDataTable functions

◆ ColumnApprovalDate

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnApprovalDate
inherited

The date when this detail was approved.

◆ ColumnApprovalDateId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnApprovalDateId = 9
staticinherited

used for generic TTypedDataTable functions

◆ ColumnCostCentreCode

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnCostCentreCode
inherited

Reference to the cost centre to use for this detail.

◆ ColumnCostCentreCodeId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnCostCentreCodeId = 4
staticinherited

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnCreatedBy
inherited

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnCreatedById = 11
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateCreated

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDateCreated
inherited

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDateCreatedId = 10
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateModified

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDateModified
inherited

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDateModifiedId = 12
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDetailApproved

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDetailApproved
inherited

Indicates if this detail has been approved or not.

◆ ColumnDetailApprovedId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDetailApprovedId = 3
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDetailNumber

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDetailNumber
inherited

A unique number for this detail for its document.

◆ ColumnDetailNumberId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnDetailNumberId = 2
staticinherited

used for generic TTypedDataTable functions

◆ ColumnItemRef

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnItemRef
inherited

Some other reference to the item.

◆ ColumnItemRefId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnItemRefId = 6
staticinherited

used for generic TTypedDataTable functions

◆ ColumnLedgerNumber

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnLedgerNumber
inherited

Reference to the ledger.

◆ ColumnLedgerNumberId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnLedgerNumberId = 0
staticinherited

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnModificationId
inherited

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnModificationIdId = 14
staticinherited

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnModifiedBy
inherited

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnModifiedById = 13
staticinherited

used for generic TTypedDataTable functions

◆ ColumnNarrative

DataColumn Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnNarrative
inherited

A narrative about what this is.

◆ ColumnNarrativeId

readonly short Ict.Petra.Shared.MFinance.AP.Data.AApDocumentDetailTable.ColumnNarrativeId = 7
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.AP.Data.AccountsPayableTDSAApDocumentDetailTable.TableId = 173
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.AP.Data.AccountsPayableTDSAApDocumentDetailTable.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 AccountsPayableTDSAApDocumentDetailRow Ict.Petra.Shared.MFinance.AP.Data.AccountsPayableTDSAApDocumentDetailTable.this[int i]
get

Access a typed row by index.


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