We are moving inventory between our sites using a transfer. How do you account for freight costs as part of the inventory?

Inventory transfer from warehouse A to B.  How do you enter freight costs for warehouse B where the product will be sold?