When editing a record*—via either a full edit or an inline edit for standard objects that use Aura record home—that another user, the same user in a different window (Lightning Experience only), or a background process has changed, users see this message:
Salesforce Classic:
"Changes Cannot Be Saved. The record you were editing was modified by User during your edit session."
Lightning Experience:
"This record was modified by (User) during your edit session. Make a note of the data you entered, then reload the record and enter your updates again."
*Note that when making an inline edit for all custom objects and standard objects that use LWC record home, the record page automatically refreshes unless another user, the same user in another window, or a background process edits the same field to a different value. In this case, in lieu of the message above, users see a message showing them the conflicting field values. Users can choose the values to keep and save the record.
The error message is displayed because of a security feature called Collision Detection.
Collision Detection prevents a user from saving their record changes if the record they are editing has been modified since the edit began. This feature can't be disabled, and is in place to prevent possible data loss.
As the error message states, the record must be refreshed with updates manually entered and resubmitted in order for the changes to be saved and committed to the database.
000385614

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.