This function calculates the opening value of a specified account. The opening value is derived differently based on the View parameter.
If the View parameter is YTD, the opening value is retrieved from the last period of the prior year.
If the View parameter is Periodic, the opening value is retrieved from the prior period of the current year. If the current period is the first period of the year, the opening value is retrieved from the last period of the prior year.
If the View parameter is blank ( " " ), the opening value is based on the default data view of the scenario.