+ Start a Discussion
lmjohnsonlmjohnson 

Ivalid Field for Insert Update

We have created an interface between back end systems and SFDC. Everything worked fine in the Sandbox although the following scenario may not have been tested. Inserting a new Opportunity record works fine, however, trying to update an existing opportunity gives the following error
Unable to create/update fields: Sales_Tax_Charges__c, Total_Charges___c. Please check the security settings of this field and verify that it is read/write for your profile.
INVALID_FIELD_FOR_INSERT_UPDATE

The above two fields referrenced in the error message are formula fields and not even referenced in the Interface code. One of the fields used in the formula(s) is refereced (Tax Rate) and this is one of the fields that we are trying to update.

Any help on the following error would be apprecitated and is URGENT!

Linda


SuperfellSuperfell
Your update code is sending up those fields, which is generating the error (as they are read only). Remember update is a partial update, you should only send the fields you want to update.
fifedogfifedog

LM,

Just wondering what tax code bases you've put in place. Just trying to figure this out myself.