Works Order Costs

SOLVED

Can anyone advise how the costs/prices are calculated for the finished product when completing a works order? Also if you know what tables and fields contain this information that would be appreciated as well.