While creating an opportunity, you may want the cost and revenue figures generated from the linked document to populate the revenue fields and margin. In order to do this, you need to click on the checkbox ‘Use Revenue/Cost of Documents’.