Detailed Description

This function calculates the opening value of a given account. The opening value will be derived differently based on the View parameter passed to the function.