CopySubgroupData
This function runs the Copy Subgroup Data command on the Financial Consolidation Server.
Note: The function runs asynchronously on the
Financial
Consolidation
Server.
Declaration:
Function CopySubgroupData(xmlConnectionInfo As String, language As String, year As String, period As String, scenario As String, group As String, company As String) As Long
Parameters:
Parameters | Description |
---|---|
xmlConnectionInfo | Connection information |
language | Language in which output is shown |
year | The source year |
period | The source period |
scenario | The source scenario |
group | The subgroup to copy |
company | The subgroup company to copy to |
Return value:
The result of the function is a numerical value. The return value indicates whether the copy subgroup data 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. |