Transport inwards in that example, especially if material, is a cost of sale and is also part of the stock value at the end of any reporting period.

Quickbooks is elegant at dealing with it.

Have a look at the Help data for a Group Item. Bear in mind unit of sale and then explore the possibilities...