Can we make a single company customer of two companies in Inter company setup

Facing problem in Multi company group setup ,there three companies operating in the group Company A is customer of company B and C because we can not made a single company customer of two in group setting so i made company A customer of B and Company B is customer of company C( because of constraint in system i think so ) now the new problem arise as company B selling to Company A product that produce by Company B and the also Company C products to company A .so company B has more work to deliver its own product and then Company C products (Although company C deliver directly to company A 's different branches) But in system company B need warehouse same with same addresses as company A branches location .then Company B make Po’s to Company C with different warehouse addressess at branches of Company A . So B has to do two receipts and two deliveries to A how can we do it simply please help