when I am trying to update contact object field(HiMatchKey__c) with AccountId(account is lookup in contact object) when it is person account it is giving error.Can someone please reply to this.


Many contact fields are moved to the Account object when you enable Person Accounts even though the Contact Object and record will still exist. With a Person Account, the Account Object record will be primary. See the following Help Page for a list of Person Account Fields.

|improve this answer|||||
  • I don't know why but for some fields are updating in contact some of them not updating – seeta Oct 3 '19 at 19:08
  • It will depend on whether the field is locked to the account record. If it's locked, it's not going to update. – crmprogdev Oct 3 '19 at 20:52
  • what do you mean by locked? – seeta Oct 3 '19 at 21:21
  • When you update a record, all related records are temporarily locked. If the Account Record is locked by the database, you won't be able to update the Contact Record. More importantly, in this particular situation, many of the Contact Fields are essentially moved to the Account Record which becomes the "source of truth". Many fields on the contact record need to be updated from the Account Record and not the other way around when Person Accounts are enabled. – crmprogdev Oct 4 '19 at 1:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.