Setting the right inventory is key to profitable supply chain management.