Intercompany Transactions F10-10b

Why is the Sales/Cost of Goods sold account affected under an intercompany inventory transaction?

The level of sales and cost of goods sold are overstated because for consolidated purposes it is as though no sale occurred, and therefore the effects of the sale should be eliminated.