CarryForward

This function runs the Carry Forward Schedules command to transfer the data from the closing balances to next period's opening balances.

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

Declaration:

Function CarryForward(xmlConnectionInfo As String, language As String, year As String, period As String, scenario As String, companies, schedules, targetYear As String, targetPeriods, targetScenario 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
companies The list of companies to include
schedules The list of schedules to include
targetYear The target year
targetPeriods A list of target periods
targetScenario The target scenario

Return value:

The result of the function is a numerical value. The return value indicates whether the carry forward schedules 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.