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

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

Static Public Member Functions

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...
 

Detailed Description

Contains functions for the validation of MFinance GL DataTables.

Member Function Documentation

◆ ValidateAllocationJournalDialog()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateAllocationJournalDialog ( object  AContext,
GLBatchTDSATransactionRow  ARow,
bool  AAmountEnabled,
decimal?  ATotalAmount,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates the AllocationJournalDialog.

Parameters
AContextContext that describes where the data validation failed.
ARowThe DataRow which holds the the data against which the validation is run.
AAmountEnabledTrue if txtDetailAmount is enabled (rather than txtDetailPercentage).
ATotalAmountThe total amount for the allocation.
AVerificationResultCollectionWill 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
ABatchDateThe Data being validated
ADescriptionDescription of control
AVerificationResultCollectionWill be filled with any TVerificationResult items if data validation errors occur.
AStartDateCurrentPeriodIf the caller knows this value it can be supplied. Otherwise the server will supply the value for the ledger.
AEndDateLastForwardingPeriodIf 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
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.
AStartDateCurrentPeriodIf the caller knows this value it can be supplied. Otherwise the server will supply the value for the ledger.
AEndDateLastForwardingPeriodIf 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()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateGLDetailManual ( object  AContext,
ABatchRow  ABatchRow,
ATransactionRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection,
ACostCentreTable  AValidationCostCentreTable = null,
AAccountTable  AvalidationAccountTable = null 
)
inlinestatic

Validates the GL Detail data.

Parameters
AContextContext that describes where the data validation failed.
ABatchRowManually added to bring over some GL Batch fields
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.
AValidationCostCentreTableREQUIRED for importing. A reference to a cost centre table so that inputs can be validated.
AvalidationAccountTableREQUIRED 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()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateGLJournalManual ( object  AContext,
AJournalRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection,
GLSetupTDS  AGLSetupDSRef = null,
ACurrencyTable  ACurrencyTableRef = null,
ACorporateExchangeRateTable  ACorporateExchangeTableRef = null,
String  ABaseCurrency = null,
String  AIntlCurrency = null 
)
inlinestatic

Validates the GL Journal 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.
AGLSetupDSRefA GLSetupTDS reference with a populated ATransactionTypeTable. A reference to this DataSet is REQUIRED when importing - optional otherwise
ACurrencyTableRefA reference to the Currency table. A reference to this table is REQUIRED when importing - optional otherwise
ACorporateExchangeTableRefCorporate exchange rate table. A reference to this table is REQUIRED when importing - optional otherwise
ABaseCurrencyLedger base currency. Required when importing
AIntlCurrencyLedger international currency. Required when importing
Returns
True if the validation found no data validation errors, otherwise false.

◆ ValidateReallocationJournalDialog()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateReallocationJournalDialog ( object  AContext,
GLBatchTDSATransactionRow  ARow,
bool  AAmountEnabled,
decimal?  ATotalAmount,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates the ReallocationJournal Dialog.

Parameters
AContextContext that describes where the data validation failed.
ARowThe DataRow which holds the the data against which the validation is run.
AAmountEnabledTrue if txtDetailAmount is enabled (rather than txtDetailPercentage).
ATotalAmountThe total amount for the allocation.
AVerificationResultCollectionWill be filled with any TVerificationResult items if data validation errors occur.
Returns
True if the validation found no data validation errors, otherwise false.

◆ ValidateRecurringGLBatchManual()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateRecurringGLBatchManual ( object  AContext,
ARecurringBatchRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates the Recurring GL Batch 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.
Returns
True if the validation found no data validation errors, otherwise false.

◆ ValidateRecurringGLDetailManual()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateRecurringGLDetailManual ( object  AContext,
ARecurringBatchRow  ABatchRow,
ARecurringTransactionRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates the recurring GL Detail data.

Parameters
AContextContext that describes where the data validation failed.
ABatchRowManually added to bring over some GL Batch fields
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.
Returns
True if the validation found no data validation errors, otherwise false.

◆ ValidateRecurringGLJournalManual()

static bool Ict.Petra.Server.MFinance.Validation.TFinanceValidation_GL.ValidateRecurringGLJournalManual ( object  AContext,
ARecurringJournalRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates the recurring GL Journal 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.
Returns
True if the validation found no data validation errors, otherwise false.

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