Supply-chain management

When evaluating whether to make a component internally or buy it from a supplier, which factor is most relevant in addition to avoidable production cost?