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
beaugordonbeaugordon 

move contact to new account - should move cases too but doesn't

I have a contact with a related case. I edit the contact and assign it to a new account. The 'Account' attribute of the case doesn't change to the new account. I expected the account attribute to update automatically. It didn't, though as I write this I can see how some users might prefer the default behavior. Question 1: Is this working as desired? Question 2: Is there any other way anyone can think of to change this other than to make a trigger on Contact that updates all the related cases? I can do that, but I prefer to keep things simple and use built-in functionaltiy where possible. Cheers
ShikibuShikibu
Case object has a ContactID and an AccountID field. Changing the ContactID won't affect the AccountId. If you want that kind of behavior, you'll need to create it yourself.