Please be aware, that your existing Change Managment processes may contain invalid information. MPP process plans may become corrupted. You can really produce many negative side effects when manipulating previous Part versions the db. So you really need to take care what you do!
string bomId = "1234567889............"; // id of BOM relationship in your previous generation. Not ID of related Part! string mySQL = "DELETE FROM PART_BOM WHERE [ID]='" + bomId +"'"; Item myResult = this.getInnovator().applySQL(mySQL);