Toga,,
The idea was that you would replace the originalcounterppartyadded (or in this case vendoradded) function with this one.
The code above does NOT work. I spent some time working on this today. There are a few hidden fields that need to ve updated. I have the newly added item added to the select box on the left, but when you click save its not saving the new value. I need to figure out how to update those hidden input fields.
I'mm post back, hopefully tomorrow
Russ
BTW , what version of sharepoint are u using