You need to sign in to do that
Don't have an account?

How to update a master/detail field or lookup field
I got an error message :
Attempting to update (as part of an upsert) parent field obj__c with new value a0740000002T9LgAAK, current value is a0740000002T9LmAAK116
All Answers
This looks identical to this posting
You can't modify the Master-Detail field when updating/upserting. In other words, you can't reparent if defined as Master-Detail.
Is there a way to work around this?
thanks
if you want to re-parent the master-detail relationship, you need to perform a delete and insert. its not a clean solution, but its a workaround.
thanks