Contains functions for the validation of MFinance GL DataTables.
More...
|
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) |
|
Contains functions for the validation of MFinance GL DataTables.
◆ ValidateAccountingPeriod()
- Parameters
-
AContext | |
ARow | |
AVerificationResultCollection | |
◆ ValidateAdminGrantPayable()
- Parameters
-
AContext | |
ARow | |
AVerificationResultCollection | |
◆ ValidateAdminGrantReceivable()
- Parameters
-
AContext | |
ARow | |
AVerificationResultCollection | |
◆ ValidateCorporateExchangeRate()
Validates the Corporate Exchange Rates screen data.
- Parameters
-
AContext | Context that describes where the data validation failed. |
ARow | The DataRow which holds the the data against which the validation is run. |
AVerificationResultCollection | Will be filled with any TVerificationResult items if data validation errors occur. |
ALedgerTableRef | A reference to a ledger table that has contains the ledgers that a client has access to |
AAlternativeFirstDayOfPeriod | An 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
-
AContext | Context that describes where the data validation failed. |
ARow | The DataRow which holds the the data against which the validation is run. |
AVerificationResultCollection | Will be filled with any TVerificationResult items if data validation errors occur. |
AMinDateTime | The earliest allowable date. |
AMaxDateTime | The latest allowable date. |
AIgnoreZeroRateCheck | If true a zero rate will be allowed. This will be the case when the Daily Exchange Rate screen is modal. |
ALedgerTableRef | A ledger table containg the available ledgers and their base currencies |
AEarliestAccountingPeriodStartDate | The earliest accounting period start date in all the active ledgers |
ALatestAccountingPeriodEndDate | The latest accounting period end date in all the active ledgers |
The documentation for this class was generated from the following file: