OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.ICH.WebConnectors.TStewardshipCalculationWebConnector Class Reference

Class for the performance of the Stewardship Calculation More...

Static Public Member Functions

static bool PerformStewardshipCalculation (int ALedgerNumber, int APeriodNumber, out List< Int32 >AgeneratedBatches, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null)
 Performs the ICH Stewardship Calculation. More...
 
static Boolean SelectedPeriodRequiresStewardshipRun (Int32 ALedgerNumber, Int32 ASelectedPeriod, Int32 ASelectedYear)
 If there are any foreign transactions in the selected period, for which ICH has not been run, return true so the client can show a warning to the user, before allowing any Stewardship Reports. More...
 

Detailed Description

Class for the performance of the Stewardship Calculation

Member Function Documentation

◆ PerformStewardshipCalculation()

static bool Ict.Petra.Server.MFinance.ICH.WebConnectors.TStewardshipCalculationWebConnector.PerformStewardshipCalculation ( int  ALedgerNumber,
int  APeriodNumber,
out List< Int32 >  AgeneratedBatches,
out TVerificationResultCollection  AVerificationResult,
TDataBase  ADataBase = null 
)
inlinestatic

Performs the ICH Stewardship Calculation.

Parameters
ALedgerNumber
APeriodNumber
AgeneratedBatchesThe Client should print these batches.
AVerificationResult
ADataBase
Returns
True if calculation succeeded, otherwise false.

◆ SelectedPeriodRequiresStewardshipRun()

static Boolean Ict.Petra.Server.MFinance.ICH.WebConnectors.TStewardshipCalculationWebConnector.SelectedPeriodRequiresStewardshipRun ( Int32  ALedgerNumber,
Int32  ASelectedPeriod,
Int32  ASelectedYear 
)
inlinestatic

If there are any foreign transactions in the selected period, for which ICH has not been run, return true so the client can show a warning to the user, before allowing any Stewardship Reports.

Parameters
ALedgerNumber
ASelectedPeriod
ASelectedYear
Returns
true if the user should probably run Stewardship Calculation.

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