The best way to learn is to do it, load a transfer order and ship it and then look at the associated GL entries, then receive it in and look again.
What you will see is the system moving it out of the inventory asset account of the item at the origin location and moving it into the intransit version, they balancing side of these is the inventory adjustment accounts. Then the receipt does the same taking it out of inventory in intransit and into the asset account of the new location. If you do not differ the inventory asset by location then this will balance to zero on the transaction, as will the adjustment account.