Issue #21628: More fixes to calculations
Issue #21628: Fixed compile error
Issue #21628: Added customer type to parameter for receivable
Issue #21628: Added privs to Sales Customer
Issue #21628: Tidied up code
Merge branch '21628' of github.com:lynnaloo/xtuple into 21664-billing-cash-receipt