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

Object to handle the read only glm-infos ... More...

Public Member Functions

 TGet_GLM_Info (int ALedgerNumber, string AAccountCode, int ACurrentFinancialYear, TDataBase ADataBase=null)
 
 TGet_GLM_Info (int ALedgerNumber, string AAccountCode, string ACostCentreCode, TDataBase ADataBase=null)
 THIS METHOD DOES NOT RETURN USEFUL VALUES because the Year is not specified. It is only called from tests, and those tests pass, because there's no previous financial year in the database, because the data returned by this method is from the earliest year in the ledger. More...
 

Properties

bool GLMExists [get]
 Indicates whether GLM record with given parameters actually exists. More...
 
decimal YtdActual [get]
 Reads the value of YtdActual and supports a default value of 0 if it not exists. More...
 
decimal YtdForeign [get]
 Reads the value of YtdForeign and supports a default value of 0 if it not exists. More...
 
int Sequence [get]
 ... More...
 

Detailed Description

Object to handle the read only glm-infos ...

Constructor & Destructor Documentation

◆ TGet_GLM_Info() [1/2]

Ict.Petra.Server.MFinance.Common.TGet_GLM_Info.TGet_GLM_Info ( int  ALedgerNumber,
string  AAccountCode,
int  ACurrentFinancialYear,
TDataBase  ADataBase = null 
)
inline

Parameters
ALedgerNumber
AAccountCode
ACurrentFinancialYearNumber of the year after the the installation of the software
ADataBase

◆ TGet_GLM_Info() [2/2]

Ict.Petra.Server.MFinance.Common.TGet_GLM_Info.TGet_GLM_Info ( int  ALedgerNumber,
string  AAccountCode,
string  ACostCentreCode,
TDataBase  ADataBase = null 
)
inline

THIS METHOD DOES NOT RETURN USEFUL VALUES because the Year is not specified. It is only called from tests, and those tests pass, because there's no previous financial year in the database, because the data returned by this method is from the earliest year in the ledger.

Parameters
ALedgerNumber
AAccountCode
ACostCentreCode
ADataBase

Property Documentation

◆ GLMExists

bool Ict.Petra.Server.MFinance.Common.TGet_GLM_Info.GLMExists
get

Indicates whether GLM record with given parameters actually exists.

◆ Sequence

int Ict.Petra.Server.MFinance.Common.TGet_GLM_Info.Sequence
get

...

◆ YtdActual

decimal Ict.Petra.Server.MFinance.Common.TGet_GLM_Info.YtdActual
get

Reads the value of YtdActual and supports a default value of 0 if it not exists.

◆ YtdForeign

decimal Ict.Petra.Server.MFinance.Common.TGet_GLM_Info.YtdForeign
get

Reads the value of YtdForeign and supports a default value of 0 if it not exists.


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