OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo Class Reference

Gets the specific date informations of an accounting intervall. This routine is either used by GL.PeriodEnd.Month and GL.Revaluation but in different senses. On time the dataset holds exact one row (Contructor with two parameters) and on time it holds a set of rows (Constructor with one parameter. More...

Public Member Functions

 TAccountPeriodInfo (int ALedgerNumber, TDataBase ADataBase=null)
 Constructor needs a valid ledger number. More...
 
 TAccountPeriodInfo (int ALedgerNumber, int ACurrentPeriod, TDataBase ADataBase=null)
 Constructor to adress a record by its primary key More...
 

Protected Member Functions

void LoadTableData (int ALedgerNumber)
 

Properties

int AccountingPeriodNumber [set]
 
DateTime PeriodEndDate [get]
 
DateTime PeriodStartDate [get]
 
int Rows [get]
 Returns the number of accounting periods in the table More...
 

Detailed Description

Gets the specific date informations of an accounting intervall. This routine is either used by GL.PeriodEnd.Month and GL.Revaluation but in different senses. On time the dataset holds exact one row (Contructor with two parameters) and on time it holds a set of rows (Constructor with one parameter.

Constructor & Destructor Documentation

◆ TAccountPeriodInfo() [1/2]

Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.TAccountPeriodInfo ( int  ALedgerNumber,
TDataBase  ADataBase = null 
)
inline

Constructor needs a valid ledger number.

Parameters
ALedgerNumberLedger number
ADataBase

◆ TAccountPeriodInfo() [2/2]

Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.TAccountPeriodInfo ( int  ALedgerNumber,
int  ACurrentPeriod,
TDataBase  ADataBase = null 
)
inline

Constructor to adress a record by its primary key

Parameters
ALedgerNumberthe ledger number
ACurrentPeriodthe current accounting period
ADataBase

Member Function Documentation

◆ LoadTableData()

void Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.LoadTableData ( int  ALedgerNumber)
inlineprotected

Property Documentation

◆ AccountingPeriodNumber

int Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.AccountingPeriodNumber
set

◆ PeriodEndDate

DateTime Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.PeriodEndDate
get

◆ PeriodStartDate

DateTime Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.PeriodStartDate
get

◆ Rows

int Ict.Petra.Server.MFinance.Common.TAccountPeriodInfo.Rows
get

Returns the number of accounting periods in the table


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