OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.GL.TGLTransactionFind Class Reference

Base for the GL Transaction Find Screen. (Based on Partner.PartnerFind). Utilised by the 'TGLTransactionFindUIConnector' Class. More...

Public Member Functions

void PerformSearch (DataTable ACriteriaData)
 Procedure to execute a Find query. Although the full query results are retrieved from the DB and stored internally in an object, data will be returned in 'pages' of data, each page holding a defined number of records. More...
 
DataTable GetDataPagedResult (System.Int16 APage, System.Int16 APageSize, out System.Int32 ATotalRecords, out System.Int16 ATotalPages)
 Returns the specified find results page. More...
 

Properties

TProgressState Progress [get]
 Get the current state of progress More...
 

Detailed Description

Base for the GL Transaction Find Screen. (Based on Partner.PartnerFind). Utilised by the 'TGLTransactionFindUIConnector' Class.

Member Function Documentation

◆ GetDataPagedResult()

DataTable Ict.Petra.Server.MFinance.GL.TGLTransactionFind.GetDataPagedResult ( System.Int16  APage,
System.Int16  APageSize,
out System.Int32  ATotalRecords,
out System.Int16  ATotalPages 
)
inline

Returns the specified find results page.

@comment Pages can be requested in any order!

Parameters
APagePage to return
APageSizeNumber of records to return per page
ATotalRecordsThe amount of rows found by the SELECT statement
ATotalPagesThe number of pages that will be needed on client-side to hold all rows found by the SELECT statement
Returns
DataTable containing the find result records for the specified page

◆ PerformSearch()

void Ict.Petra.Server.MFinance.GL.TGLTransactionFind.PerformSearch ( DataTable  ACriteriaData)
inline

Procedure to execute a Find query. Although the full query results are retrieved from the DB and stored internally in an object, data will be returned in 'pages' of data, each page holding a defined number of records.

Parameters
ACriteriaDataHashTable containing non-empty Find parameters.

Property Documentation

◆ Progress

TProgressState Ict.Petra.Server.MFinance.GL.TGLTransactionFind.Progress
get

Get the current state of progress


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