Total cost price of quote products

We're running the latest version of SugarCRM Enterprise on the Sugar Cloud.

We're wondering if anyone knows the best way to create a field against a quote that calculates the total cost price of products within that quote?

Can't seem to get access to the product costs unless I'm missing something.

Cheers,

Nathan