Renumber KeyID

Can anyone help me with some axapta code or method to renumber the keyid in the smmcontactinterest file. I have a clash of numbers and the sequences is all over the palce and I would like to clean it up with a new number sequence. Is there a existing method in axapta to renumber the primary keys or anything like that Thanks Regards Newman

Hi, Use method renamePrimaryKey() instead of update() or doUpdate() after setting a new value for the key. br,

Which particular method are you talking about. There are many methods that have that name but none which relate to smmcontactinterests Regards Newman