I am using the lightning:recordEditForm on the Case object. Using the console and the JS Controller I can see that the Account Id that is selected by the user in the form is the Account Id that is being submitted. However it is not the Account Id that is on the Case at the end of the transaction. This is the code from the controller:
console.log('fields after'+JSON.stringify(fields));
cmp.find("recordForm").submit(fields);
There are no Processes, Workflow Rules or Flows affecting the AccountId after the submission. There are 2 managed Triggers for the Case object whose code is hidden.
Does Salesforce automatically assign the Account ID for the Case object when using the lightning:recordEditForm?