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

Account Lookup field on contact not saving
I'm trying to show all contacts related to child accounts at parent account level. I created a custom account lookup field on contact. When I try to add or edit a contact and select the name of my parent account in the custom lookup field, it does not save. Not sure what is going on. Any suggestions
Thanks for help.
Thanks for help.
Is there any error message you are experiencing on click of the save button?
Can you please check validation rules on this object, may be they would be causing this?
Can you please execute the below mentioned code statement from developer console:
insert new Contact(LastName = 'Test contact', parentObjectAPIName = Id);
Replace parentObjectAPIName with your field api name and assign the Id of the Parent Account.
insert new Contact(LastName = 'Test branch contact1',AccountId='001c000000ioL9g', Firm_Account__c = '001c000000ioL9M');
Im getting below error
ystem.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Firm_Account__c]: [Firm_Account__c]
It seems the problem is coming at the configuration level not at the UI level. Can you please check if there is any trigger on Contact object which sets the value of Firm_Account__c field value back to blank. If so, just deactivate that trigger and then try?