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

todoComment More...

Public Member Functions

 TGlmSequenceCache ()
 constructor More...
 
TGlmSequence GetGlmSequenceCurrentYear (TDataBase databaseConnection, int pv_ledger_number_i, String pv_cost_centre_code_c, String pv_account_code_c, int pv_current_financial_year_i)
 Get the sequence System.Object of a a_general_ledger_master More...
 
TGlmSequence GetOtherYearGlmSequence (TDataBase databaseConnection, TGlmSequence glmSequence, int year)
 Get the sequence number of another year, using a known sequence number More...
 
TGlmSequence GetGlmSequence (int sequenceNumber)
 Get the complete object to a known sequence number More...
 

Detailed Description

todoComment

Constructor & Destructor Documentation

◆ TGlmSequenceCache()

Ict.Petra.Server.MReporting.MFinance.TGlmSequenceCache.TGlmSequenceCache ( )
inline

constructor

Member Function Documentation

◆ GetGlmSequence()

TGlmSequence Ict.Petra.Server.MReporting.MFinance.TGlmSequenceCache.GetGlmSequence ( int  sequenceNumber)
inline

Get the complete object to a known sequence number

Parameters
sequenceNumberThe known sequence number of a general_ledger_master year
Returns
the glm sequence object of the a_general_ledger_master row of the given sequence; nil if sequence is not in cache

◆ GetGlmSequenceCurrentYear()

TGlmSequence Ict.Petra.Server.MReporting.MFinance.TGlmSequenceCache.GetGlmSequenceCurrentYear ( TDataBase  databaseConnection,
int  pv_ledger_number_i,
String  pv_cost_centre_code_c,
String  pv_account_code_c,
int  pv_current_financial_year_i 
)
inline

Get the sequence System.Object of a a_general_ledger_master

Returns
the glm sequence System.Object of the a_general_ledger_master row of the given year; nil if there is no available a_general_ledger_master row

◆ GetOtherYearGlmSequence()

TGlmSequence Ict.Petra.Server.MReporting.MFinance.TGlmSequenceCache.GetOtherYearGlmSequence ( TDataBase  databaseConnection,
TGlmSequence  glmSequence,
int  year 
)
inline

Get the sequence number of another year, using a known sequence number

Parameters
databaseConnection
glmSequenceThe known sequence number of a general_ledger_master year
yearThe year of the required sequence
Returns
the glm sequence System.Object of the a_general_ledger_master row of the another year; null if there is no available a_general_ledger_master row

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