CopyParameters
This function runs the Copy Parameters command on the Financial Consolidation Server.
Note: The function runs asynchronously on the
Financial
Consolidation
Server.
Declaration:
Function CopyParameters(xmlConnectionInfo As String, language As String, years, periods, scenarios, targetYears, targetPeriods, targetScenarios, settings As Long) As Long
Parameters:
Parameters | Description |
---|---|
xmlConnectionInfo | Connection information |
language | Language in which output is shown |
years | The list of source years |
periods | The list of source periods |
scenarios | The list of source scenarios |
targetYears | The list of target years |
targetPeriods | The list of target periods |
targetScenarios | The list of target scenarios |
settings |
Defines the data that must be copied:
|
Return value:
The result of the function is a numerical value. The return value indicates whether the copy parameters 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. |