Inventory and cost of sales transactions in T-accounts