Managing the bill of materials