This function calculates the sum of either the periods specified or calculates the sum year to date for the specified account. By default, the view of the data accumulated will be the scenario default; however, the user may wish to override this for flow type accounts.
If the View parameter is "YTD", the function will accumulate the year-to-date values.
If the View parameter is "Periodic", the function will accumulate the periodic values.
If the View parameter is blank ( " " ), the function will accumulate the data using the scenario default view.