Comment to 20:30 related to stored functions and procedures:
You cannot the call of a save procedure in the Advanced Reporting, it's not allowed and save breaks.
BUT you can create select statements with function calls in it. As functions can execute any statement this may be very dangerous.