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
Shruthi NarsiShruthi Narsi 

Enable Audit Feild help

Hi 

I have to enable the audit field in my production for data migration leads accounts contacts and opportunities.

Can anyone help me with a way I have user permission set 
User-added image
 
AbhishekAbhishek (Salesforce Developers) 
Shruthi,

https://www.arkusinc.com/archive/2019/audit-fields-and-your-salesforce-data-migration

Check this.

For further reference check this too (https://help.import2.com/en/articles/948839-what-are-salesforce-audit-fields-and-how-can-i-enable-these).

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
Shruthi NarsiShruthi Narsi
I found out ist because of api version. can you tell me the effects of changing API version. will it affect thee functionality
AbhishekAbhishek (Salesforce Developers) 
some times your sandbox and production org have a different version at the time of deployment you may get face problems regarding versions.
Changing API versions can only be done in a sandbox or developer org You cannot directly change production

please refer these
https://help.salesforce.com/articleView?id=code_version_settings_apex.htm&type=5

https://salesforce.stackexchange.com/questions/70387/what-is-the-best-practice-re-api-version-of-your-apex-classes


If it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.