Check out this excellent and very detailed blog post by Oracle ACE Director Cameron Lackpour:

Calculation Manager, BSO Planning, and ASO Planning combine for an awesome ASO Essbase procedural calculation hack -- Part 3