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
Anuj Joshi 16Anuj Joshi 16 

Audit and system fields changing

Hi,

I am importing an account record into one org which has created date as 09-21-2015. But if i import it on 09-18-2016 it should not get updated when we have roll up summary field in account on opportunity. If i create an opportunity in that account the last modified date is changing. But i do not want it to be changed.

Regards,
Anuj
UC InnovationUC Innovation
Hi Anuj,

Ran into this issue myself in the past. You need to enable create and edit audit fields permissions for your org. This setting can be found in setup under 'user interface'. You will then need to grant the user or profile this permission either by permission set or custom permissions. More on this can be found here (https://help.salesforce.com/apex/HTViewSolution?urlname=Enable-Create-Audit-Fields&language=en_US).

Hope this helps!

AM