It is a settled question in economics that transaction costs determine optimal inventory levels.
It follows that insofar as inventories are concerned, transaction costs directly influence the location of the boundary between the organization and the market.