...
To allocate the expenses (incurred on purchasing the goods) to costs of the items listed on the Inventory tab, select the Include Expenses in Cost Price check box. This makes the Distribute Expenses button on the toolbar of the Inventory tab available.
Note. Deferred expenses expenses and payroll deductions cannot be included in the cost of items.
...