Contains functions for the validation of MFinance Gift DataTables.
More...
|
static bool | ValidateGiftBatchManual (object AContext, AGiftBatchRow ARow, ref TVerificationResultCollection AVerificationResultCollection, AAccountTable AAccountTableRef=null, ACostCentreTable ACostCentreTableRef=null, AAccountPropertyTable AAccountPropertyTableRef=null, AAccountingPeriodTable AAccountingPeriodTableRef=null, ACorporateExchangeRateTable ACorporateExchangeTableRef=null, ACurrencyTable ACurrencyTableRef=null, string ABaseCurrency=null, string AInternationalCurrency=null, bool AValidateAccountCostCentre=false) |
| Validates the Gift Batch data. More...
|
|
static bool | ValidateGiftDetailManual (object AContext, GiftBatchTDSAGiftDetailRow ARow, ref TVerificationResultCollection AVerificationResultCollection, bool? ASetupForILT=null, ACostCentreTable ACostCentres=null, AAccountTable AAccounts=null, AMotivationGroupTable AMotivationGroups=null, AMotivationDetailTable AMotivationDetails=null, PMailingTable AMailingTable=null, Int64 ARecipientField=-1, bool ARecipientZeroIsValid=true) |
| Validates the Gift Detail data. More...
|
|
static bool | ValidateTaxDeductiblePct (object AContext, GiftBatchTDSAGiftDetailRow ARow, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the Gift Detail data. More...
|
|
static bool | ValidateGiftManual (object AContext, AGiftRow ARow, Int32 AYear, Int32 APeriod, ref TVerificationResultCollection AVerificationResultCollection, AMethodOfGivingTable AMethodOfGivingRef=null, AMethodOfPaymentTable AMethodOfPaymentRef=null, PFormTable AFormLetterCodeTbl=null, bool ADonorZeroIsValid=false) |
| Validation for Gift table More...
|
|
static bool | ValidateRecurringGiftBatchManual (object AContext, ARecurringGiftBatchRow ARow, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the Recurring Gift Batch data. More...
|
|
static bool | ValidateRecurringGiftManual (object AContext, ARecurringGiftRow ARow, ref TVerificationResultCollection AVerificationResultCollection, bool ADonorZeroIsValid=false) |
| Validation for Recurring Gift table More...
|
|
static bool | ValidateRecurringGiftDetailManual (object AContext, GiftBatchTDSARecurringGiftDetailRow ARow, ref TVerificationResultCollection AVerificationResultCollection, Int64 ARecipientField=-1, bool ARecipientZeroIsValid=true) |
| Validates the Recurring Gift Detail data. More...
|
|
static void | ValidateGiftMotivationSetupManual (object AContext, AMotivationDetailRow ARow, bool ATaxDeductiblePercentageEnabled, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the Gift Motivation Setup. More...
|
|
Contains functions for the validation of MFinance Gift DataTables.
◆ ValidateGiftBatchManual()
static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_Gift.ValidateGiftBatchManual |
( |
object |
AContext, |
|
|
AGiftBatchRow |
ARow, |
|
|
ref TVerificationResultCollection |
AVerificationResultCollection, |
|
|
AAccountTable |
AAccountTableRef = null , |
|
|
ACostCentreTable |
ACostCentreTableRef = null , |
|
|
AAccountPropertyTable |
AAccountPropertyTableRef = null , |
|
|
AAccountingPeriodTable |
AAccountingPeriodTableRef = null , |
|
|
ACorporateExchangeRateTable |
ACorporateExchangeTableRef = null , |
|
|
ACurrencyTable |
ACurrencyTableRef = null , |
|
|
string |
ABaseCurrency = null , |
|
|
string |
AInternationalCurrency = null , |
|
|
bool |
AValidateAccountCostCentre = false |
|
) |
| |
|
inlinestatic |
Validates the Gift Batch 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. |
AAccountTableRef | Account Table. A reference to this table is REQUIRED when importing - optional otherwise |
ACostCentreTableRef | Cost centre table. A reference to this table is REQUIRED when importing - optional otherwise |
AAccountPropertyTableRef | Account Property Table. A reference to this table is REQUIRED when importing - optional otherwise |
AAccountingPeriodTableRef | Accounting Period Table. A reference to this table is REQUIRED when importing - optional otherwise |
ACorporateExchangeTableRef | Corporate exchange rate table. A reference to this table is REQUIRED when importing - optional otherwise |
ACurrencyTableRef | Currency table. A reference to this table is REQUIRED when importing - optional otherwise |
ABaseCurrency | Ledger base currency. Required when importing |
AInternationalCurrency | Ledger international currency. Required when importing |
AValidateAccountCostCentre | Determines whether or not to |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateGiftDetailManual()
static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_Gift.ValidateGiftDetailManual |
( |
object |
AContext, |
|
|
GiftBatchTDSAGiftDetailRow |
ARow, |
|
|
ref TVerificationResultCollection |
AVerificationResultCollection, |
|
|
bool? |
ASetupForILT = null , |
|
|
ACostCentreTable |
ACostCentres = null , |
|
|
AAccountTable |
AAccounts = null , |
|
|
AMotivationGroupTable |
AMotivationGroups = null , |
|
|
AMotivationDetailTable |
AMotivationDetails = null , |
|
|
PMailingTable |
AMailingTable = null , |
|
|
Int64 |
ARecipientField = -1 , |
|
|
bool |
ARecipientZeroIsValid = true |
|
) |
| |
|
inlinestatic |
Validates the Gift Detail 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. |
ASetupForILT | Optional - Is the recipient set up for inter-ledger transfers. |
ACostCentres | Optional - a CostCentres table. Is required for import validation. |
AAccounts | Optional - a Accounts table. Is required for import validation. |
AMotivationGroups | Optional - a MotivationGroups table. Is required for import validation. |
AMotivationDetails | Optional - a MotivationDetails table. Is required for import validation. |
AMailingTable | Optional - a Mailing table. Is required for import validation. |
ARecipientField | Optional The recipient field for the gift. Is required for import validation. |
ARecipientZeroIsValid | Optional Wether or not the Recipient can be zero. |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateGiftManual()
Validation for Gift table
- Parameters
-
AContext | |
ARow | |
AYear | |
APeriod | |
AVerificationResultCollection | |
AMethodOfGivingRef | Required for import validation |
AMethodOfPaymentRef | Required for |
AFormLetterCodeTbl | Supplied in import validation |
ADonorZeroIsValid | Whether or not donor zero is valid |
- Returns
◆ ValidateGiftMotivationSetupManual()
static void Ict.Petra.Server.MFinance.Validation.TFinanceValidation_Gift.ValidateGiftMotivationSetupManual |
( |
object |
AContext, |
|
|
AMotivationDetailRow |
ARow, |
|
|
bool |
ATaxDeductiblePercentageEnabled, |
|
|
ref TVerificationResultCollection |
AVerificationResultCollection |
|
) |
| |
|
inlinestatic |
Validates the Gift Motivation Setup.
- Parameters
-
AContext | Context that describes where the data validation failed. |
ARow | The DataRow which holds the the data against which the validation is run. |
ATaxDeductiblePercentageEnabled | True if Tax Deductible Percentage is enabled |
AVerificationResultCollection | Will be filled with any TVerificationResult items if data validation errors occur. |
- Returns
- void
◆ ValidateRecurringGiftBatchManual()
Validates the Recurring Gift Batch 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. |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateRecurringGiftDetailManual()
Validates the Recurring Gift Detail 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. |
ARecipientField | Optional |
ARecipientZeroIsValid | Optional |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateRecurringGiftManual()
static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_Gift.ValidateRecurringGiftManual |
( |
object |
AContext, |
|
|
ARecurringGiftRow |
ARow, |
|
|
ref TVerificationResultCollection |
AVerificationResultCollection, |
|
|
bool |
ADonorZeroIsValid = false |
|
) |
| |
|
inlinestatic |
Validation for Recurring Gift table
- Parameters
-
AContext | |
ARow | |
AVerificationResultCollection | |
ADonorZeroIsValid | |
- Returns
◆ ValidateTaxDeductiblePct()
Validates the Gift Detail 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. |
- Returns
- True if the validation found no data validation errors, otherwise false.
The documentation for this class was generated from the following file: