OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod Class Reference

should help with forwarding periods, different financial years etc. More...

Public Member Functions

void MainConstructor (TDataBase databaseConnection, int period, int year, int diffPeriod, System.Int32 ACurrentFinancialYear, System.Int32 ACurrentPeriod, System.Int32 ANumberAccountingPeriods, System.Int32 ANumberForwardingPeriods, TGlmSequence glmSequence, LedgerStatus myLedgerStatus)
 called by the constructors More...
 
 TFinancialPeriod (TDataBase databaseConnection, int period, int year, int diffPeriod, System.Int32 ACurrentFinancialYear, System.Int32 ACurrentPeriod, System.Int32 ANumberAccountingPeriods, System.Int32 ANumberForwardingPeriods, TGlmSequence glmSequence)
 constructor More...
 
 TFinancialPeriod (TDataBase databaseConnection, int period, int year, TParameterList parameters, int column)
 if withExchangeRatesGLM is false, it will only set the correct values for realPeriod and realYear, More...
 
 TFinancialPeriod (TDataBase databaseConnection, TFinancialPeriod period, int diff, TParameterList parameters, int column)
 creates a period before or after the given period More...
 
 TFinancialPeriod (TFinancialPeriod APeriod)
 copy constructor More...
 
 TFinancialPeriod (TDataBase databaseConnection, int period, int year, TFinancialPeriod AFinancialPeriod)
 constructor More...
 
 TFinancialPeriod (TDataBase databaseConnection, int realPeriod, int year, TParameterList parameters, int column, bool real)
 the given period should not be changed with diffPeriod More...
 
Boolean HasDifference ()
 todoComment More...
 
bool RealPeriodExists ()
 todoComment More...
 

Public Attributes

int diffPeriod
 todoComment More...
 
int realYear
 todoComment More...
 
int realPeriod
 todoComment More...
 
TGlmSequence realGlmSequence
 todoComment More...
 
decimal exchangeRateToIntl
 todoComment More...
 
int FCurrentFinancialYear
 todoComment More...
 
int FNumberAccountingPeriods
 todoComment More...
 
int FCurrentPeriod
 todoComment More...
 
int FNumberForwardingPeriods
 todoComment More...
 

Detailed Description

should help with forwarding periods, different financial years etc.

Constructor & Destructor Documentation

◆ TFinancialPeriod() [1/6]

Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.TFinancialPeriod ( TDataBase  databaseConnection,
int  period,
int  year,
int  diffPeriod,
System.Int32  ACurrentFinancialYear,
System.Int32  ACurrentPeriod,
System.Int32  ANumberAccountingPeriods,
System.Int32  ANumberForwardingPeriods,
TGlmSequence  glmSequence 
)
inline

constructor

Parameters
databaseConnection
period
year
diffPeriod
ACurrentFinancialYear
ACurrentPeriod
ANumberAccountingPeriods
ANumberForwardingPeriods
glmSequence

◆ TFinancialPeriod() [2/6]

Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.TFinancialPeriod ( TDataBase  databaseConnection,
int  period,
int  year,
TParameterList  parameters,
int  column 
)
inline

if withExchangeRatesGLM is false, it will only set the correct values for realPeriod and realYear,

Returns

◆ TFinancialPeriod() [3/6]

Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.TFinancialPeriod ( TDataBase  databaseConnection,
TFinancialPeriod  period,
int  diff,
TParameterList  parameters,
int  column 
)
inline

creates a period before or after the given period

◆ TFinancialPeriod() [4/6]

Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.TFinancialPeriod ( TFinancialPeriod  APeriod)
inline

copy constructor

Parameters
APeriod

◆ TFinancialPeriod() [5/6]

Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.TFinancialPeriod ( TDataBase  databaseConnection,
int  period,
int  year,
TFinancialPeriod  AFinancialPeriod 
)
inline

constructor

Parameters
databaseConnection
period
year
AFinancialPeriod

◆ TFinancialPeriod() [6/6]

Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.TFinancialPeriod ( TDataBase  databaseConnection,
int  realPeriod,
int  year,
TParameterList  parameters,
int  column,
bool  real 
)
inline

the given period should not be changed with diffPeriod

Member Function Documentation

◆ HasDifference()

Boolean Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.HasDifference ( )
inline

todoComment

Returns

◆ MainConstructor()

void Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.MainConstructor ( TDataBase  databaseConnection,
int  period,
int  year,
int  diffPeriod,
System.Int32  ACurrentFinancialYear,
System.Int32  ACurrentPeriod,
System.Int32  ANumberAccountingPeriods,
System.Int32  ANumberForwardingPeriods,
TGlmSequence  glmSequence,
LedgerStatus  myLedgerStatus 
)
inline

called by the constructors

Parameters
databaseConnection
period
yearthe selected year that the report should be on
diffPeriod
ACurrentFinancialYear
ACurrentPeriod
ANumberAccountingPeriods
ANumberForwardingPeriods
glmSequencein relation to year, not currentFinancialYear
myLedgerStatus

◆ RealPeriodExists()

bool Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.RealPeriodExists ( )
inline

todoComment

Returns

Member Data Documentation

◆ diffPeriod

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.diffPeriod

todoComment

◆ exchangeRateToIntl

decimal Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.exchangeRateToIntl

todoComment

◆ FCurrentFinancialYear

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.FCurrentFinancialYear

todoComment

◆ FCurrentPeriod

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.FCurrentPeriod

todoComment

◆ FNumberAccountingPeriods

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.FNumberAccountingPeriods

todoComment

◆ FNumberForwardingPeriods

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.FNumberForwardingPeriods

todoComment

◆ realGlmSequence

TGlmSequence Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.realGlmSequence

todoComment

◆ realPeriod

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.realPeriod

todoComment

◆ realYear

int Ict.Petra.Server.MReporting.MFinance.TFinancialPeriod.realYear

todoComment


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