You need to sign in to do that
Don't have an account?
anuragsinghns
INVALID_FIELD_FOR_INSERT_UPDATE, Account: bad field names on insert/update call: Name: [Name] 22:50:08.576 (576188473)|SYSTEM_METHOD_EXIT|[115]|System.debug(ANY)
Hi Guys,
I am getting this error when I tried to update a person account even though I am not mapping the name field on account I am just updating a address city field any thoughts?
//Assigning city to account field
updateAccount.PersonOtherCity=webCase.Home_City__c;
// updating the account
update accountsToUpdateLst;
I am getting this error when I tried to update a person account even though I am not mapping the name field on account I am just updating a address city field any thoughts?
//Assigning city to account field
updateAccount.PersonOtherCity=webCase.Home_City__c;
// updating the account
update accountsToUpdateLst;
Check the below link.
https://developer.salesforce.com/forums/ForumsMain?id=906F000000091HYIAY
If Account field name IsPersonAccount has boolean value true then that Account is a person account.
Its a formula field so you got to map it to first name and Last Name seperately.
How very dull of me!