Validation

This function runs the Validation command on the Financial Consolidation Server.

Note: The function runs asynchronously on the Financial Consolidation Server.

Declaration:

Function Validation(xmlConnectionInfo As String, language As String, years, periods, scenarios, groups, settings As Long) As Long

Parameters:

Parameters Description
xmlConnectionInfo Connection information
language Language in which output is shown
years The list of years
periods The list of periods
scenarios The list of scenarios
groups The list of groups
settings

Defines the data that must be validated:

  • 1: Database structures
  • 2: Parameters
  • 4: Exchange rates
  • 8: Financial data
  • 16: Recurring journals

Return value:

The result of the function is a numerical value. The return value indicates whether the validation process has been started:

Value Enumerator Description
0 Succeed The process has been started.
1 ServerIsBusy The server is busy and the process has not been started.
2 Error An error has happened.
3 IsExecuting At least one of the consolidation rules in the selected sequence is already running in the same context.