Could anyone help me understand intercompany transactions involving inventory?

I don't know how better to explain this, other than I just can't get it. It is literally the only item in all 9 sections that I can't get down. I've listened to the lecture, looked at ninja notes, and keep re-working the problems and I just can't wrap my head around it. Anyone have any tips on intercompany inventory/cogs items? I'd really appreciate it. What do you eliminate - what do you keep? What if the sub sells all the inventory, what if it doesn't - etc? It's so weird because I understand I/C receivables and sale of assets totally. Thanks again.