Contains functions for the validation of MFinance GL DataTables.
More...
|
static bool | ValidateGLBatchManual (object AContext, ABatchRow ARow, ref TVerificationResultCollection AVerificationResultCollection, DateTime? AStartDateCurrentPeriod=null, DateTime? AEndDateLastForwardingPeriod=null) |
| Validates the GL Batch data. More...
|
|
static bool | ValidateGLBatchDateManual (DateTime? ABatchDate, string ADescription, ref TVerificationResultCollection AVerificationResultCollection, DateTime AStartDateCurrentPeriod, DateTime AEndDateLastForwardingPeriod) |
| Validates the GL Batch Date dialog. More...
|
|
static bool | ValidateRecurringGLBatchManual (object AContext, ARecurringBatchRow ARow, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the Recurring GL Batch data. More...
|
|
static bool | ValidateGLJournalManual (object AContext, AJournalRow ARow, ref TVerificationResultCollection AVerificationResultCollection, GLSetupTDS AGLSetupDSRef=null, ACurrencyTable ACurrencyTableRef=null, ACorporateExchangeRateTable ACorporateExchangeTableRef=null, String ABaseCurrency=null, String AIntlCurrency=null) |
| Validates the GL Journal data. More...
|
|
static bool | ValidateRecurringGLJournalManual (object AContext, ARecurringJournalRow ARow, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the recurring GL Journal data. More...
|
|
static bool | ValidateGLDetailManual (object AContext, ABatchRow ABatchRow, ATransactionRow ARow, ref TVerificationResultCollection AVerificationResultCollection, ACostCentreTable AValidationCostCentreTable=null, AAccountTable AvalidationAccountTable=null) |
| Validates the GL Detail data. More...
|
|
static bool | ValidateRecurringGLDetailManual (object AContext, ARecurringBatchRow ABatchRow, ARecurringTransactionRow ARow, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the recurring GL Detail data. More...
|
|
static bool | ValidateAllocationJournalDialog (object AContext, GLBatchTDSATransactionRow ARow, bool AAmountEnabled, decimal? ATotalAmount, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the AllocationJournalDialog. More...
|
|
static bool | ValidateReallocationJournalDialog (object AContext, GLBatchTDSATransactionRow ARow, bool AAmountEnabled, decimal? ATotalAmount, ref TVerificationResultCollection AVerificationResultCollection) |
| Validates the ReallocationJournal Dialog. More...
|
|
Contains functions for the validation of MFinance GL DataTables.
◆ ValidateAllocationJournalDialog()
Validates the AllocationJournalDialog.
- Parameters
-
AContext | Context that describes where the data validation failed. |
ARow | The DataRow which holds the the data against which the validation is run. |
AAmountEnabled | True if txtDetailAmount is enabled (rather than txtDetailPercentage). |
ATotalAmount | The total amount for the allocation. |
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.
◆ ValidateGLBatchDateManual()
static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateGLBatchDateManual |
( |
DateTime? |
ABatchDate, |
|
|
string |
ADescription, |
|
|
ref TVerificationResultCollection |
AVerificationResultCollection, |
|
|
DateTime |
AStartDateCurrentPeriod, |
|
|
DateTime |
AEndDateLastForwardingPeriod |
|
) |
| |
|
inlinestatic |
Validates the GL Batch Date dialog.
- Parameters
-
ABatchDate | The Data being validated |
ADescription | Description of control |
AVerificationResultCollection | Will be filled with any TVerificationResult items if data validation errors occur. |
AStartDateCurrentPeriod | If the caller knows this value it can be supplied. Otherwise the server will supply the value for the ledger. |
AEndDateLastForwardingPeriod | If the caller knows this value it can be supplied. Otherwise the server will supply the value for the ledger. |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateGLBatchManual()
static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateGLBatchManual |
( |
object |
AContext, |
|
|
ABatchRow |
ARow, |
|
|
ref TVerificationResultCollection |
AVerificationResultCollection, |
|
|
DateTime? |
AStartDateCurrentPeriod = null , |
|
|
DateTime? |
AEndDateLastForwardingPeriod = null |
|
) |
| |
|
inlinestatic |
Validates the GL 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. |
AStartDateCurrentPeriod | If the caller knows this value it can be supplied. Otherwise the server will supply the value for the ledger. |
AEndDateLastForwardingPeriod | If the caller knows this value it can be supplied. Otherwise the server will supply the value for the ledger. |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateGLDetailManual()
Validates the GL Detail data.
- Parameters
-
AContext | Context that describes where the data validation failed. |
ABatchRow | Manually added to bring over some GL Batch fields |
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. |
AValidationCostCentreTable | REQUIRED for importing. A reference to a cost centre table so that inputs can be validated. |
AvalidationAccountTable | REQUIRED for importing. A reference to an account table so that inputs can be validated. |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateGLJournalManual()
Validates the GL Journal 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. |
AGLSetupDSRef | A GLSetupTDS reference with a populated ATransactionTypeTable. A reference to this DataSet is REQUIRED when importing - optional otherwise |
ACurrencyTableRef | A reference to the Currency 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 |
ABaseCurrency | Ledger base currency. Required when importing |
AIntlCurrency | Ledger international currency. Required when importing |
- Returns
- True if the validation found no data validation errors, otherwise false.
◆ ValidateReallocationJournalDialog()
Validates the ReallocationJournal Dialog.
- Parameters
-
AContext | Context that describes where the data validation failed. |
ARow | The DataRow which holds the the data against which the validation is run. |
AAmountEnabled | True if txtDetailAmount is enabled (rather than txtDetailPercentage). |
ATotalAmount | The total amount for the allocation. |
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.
◆ ValidateRecurringGLBatchManual()
Validates the Recurring GL 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.
◆ ValidateRecurringGLDetailManual()
Validates the recurring GL Detail data.
- Parameters
-
AContext | Context that describes where the data validation failed. |
ABatchRow | Manually added to bring over some GL Batch fields |
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.
◆ ValidateRecurringGLJournalManual()
Validates the recurring GL Journal 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: