function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
saariko.ax241saariko.ax241 

URGENT: INVALID_FIELD_FOR_INSERT_UPDATE

I have a custom object which is a child of Account.
I used to have it as a lookup field.
I have changed the relationship from Lookup to Master/detail in order to have the same owner on the custom object as on the account.

The problem now is that my API appliation can not update the custom object. I get the attached error
http://i62.photobucket.com/albums/h119/saariko/Snap1.jpg

please help.

Saar

SuperfellSuperfell
For master/detail relationships, the parentId can only be set during the creation, it can't be changed later.
saariko.ax241saariko.ax241
super simon. Thanks.
Working now.

However I noticed a different problem, does that mean I can not move the child object from one parent to another?

I have some cases that this action is required.
  

Message Edited by saariko on 10-30-2007 09:17 AM