OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GLSetup Class Reference

Contains functions for the validation of MFinance GL DataTables. More...

Static Public Member Functions

static void ValidateDailyExchangeRate (object AContext, ADailyExchangeRateRow ARow, ref TVerificationResultCollection AVerificationResultCollection, DateTime AMinDateTime, DateTime AMaxDateTime, bool AIgnoreZeroRateCheck, ALedgerTable ALedgerTableRef, DateTime AEarliestAccountingPeriodStartDate, DateTime ALatestAccountingPeriodEndDate)
 Validates the Daily Exchange Rates screen data. More...
 
static void ValidateCorporateExchangeRate (object AContext, ACorporateExchangeRateRow ARow, ref TVerificationResultCollection AVerificationResultCollection, ALedgerTable ALedgerTableRef, int AAlternativeFirstDayOfPeriod)
 Validates the Corporate Exchange Rates screen data. More...
 
static void ValidateAdminGrantPayable (object AContext, AFeesPayableRow ARow, ref TVerificationResultCollection AVerificationResultCollection)
 
static void ValidateAdminGrantReceivable (object AContext, AFeesReceivableRow ARow, ref TVerificationResultCollection AVerificationResultCollection)
 
static void ValidateAccountingPeriod (object AContext, AAccountingPeriodRow ARow, ref TVerificationResultCollection AVerificationResultCollection)
 

Detailed Description

Contains functions for the validation of MFinance GL DataTables.

Member Function Documentation

◆ ValidateAccountingPeriod()

static void Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GLSetup.ValidateAccountingPeriod ( object  AContext,
AAccountingPeriodRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Parameters
AContext
ARow
AVerificationResultCollection

◆ ValidateAdminGrantPayable()

static void Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GLSetup.ValidateAdminGrantPayable ( object  AContext,
AFeesPayableRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Parameters
AContext
ARow
AVerificationResultCollection

◆ ValidateAdminGrantReceivable()

static void Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GLSetup.ValidateAdminGrantReceivable ( object  AContext,
AFeesReceivableRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Parameters
AContext
ARow
AVerificationResultCollection

◆ ValidateCorporateExchangeRate()

static void Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GLSetup.ValidateCorporateExchangeRate ( object  AContext,
ACorporateExchangeRateRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection,
ALedgerTable  ALedgerTableRef,
int  AAlternativeFirstDayOfPeriod 
)
inlinestatic

Validates the Corporate Exchange Rates screen data.

Parameters
AContextContext that describes where the data validation failed.
ARowThe DataRow which holds the the data against which the validation is run.
AVerificationResultCollectionWill be filled with any TVerificationResult items if data validation errors occur.
ALedgerTableRefA reference to a ledger table that has contains the ledgers that a client has access to
AAlternativeFirstDayOfPeriodAn alternative day (apart from 1) that is the start of an accounting period for at least one of the availbale ledgers

◆ ValidateDailyExchangeRate()

static void Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GLSetup.ValidateDailyExchangeRate ( object  AContext,
ADailyExchangeRateRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection,
DateTime  AMinDateTime,
DateTime  AMaxDateTime,
bool  AIgnoreZeroRateCheck,
ALedgerTable  ALedgerTableRef,
DateTime  AEarliestAccountingPeriodStartDate,
DateTime  ALatestAccountingPeriodEndDate 
)
inlinestatic

Validates the Daily Exchange Rates screen data.

Parameters
AContextContext that describes where the data validation failed.
ARowThe DataRow which holds the the data against which the validation is run.
AVerificationResultCollectionWill be filled with any TVerificationResult items if data validation errors occur.
AMinDateTimeThe earliest allowable date.
AMaxDateTimeThe latest allowable date.
AIgnoreZeroRateCheckIf true a zero rate will be allowed. This will be the case when the Daily Exchange Rate screen is modal.
ALedgerTableRefA ledger table containg the available ledgers and their base currencies
AEarliestAccountingPeriodStartDateThe earliest accounting period start date in all the active ledgers
ALatestAccountingPeriodEndDateThe latest accounting period end date in all the active ledgers

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