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
aparna atmakuriaparna atmakuri 

I need to use upsert function for audit trail records while uploading by data loader

Hi All,

While uploading records with upsert function on event objects which includes createddate,createdby,lastModifiedby,lastmodifieddate it is getting an issue like unable to read.write createddate,createdby,lastmodifiedby,lastmodifieddate please check permission set or profile permission...even though when gave the permissions of Audit trail using permission set.

 
AbhinavAbhinav (Salesforce Developers) 
Hi Aparna,

Please refer below link

https://help.salesforce.com/articleView?id=000328426&mode=1&sfdcIFrameOrigin=null&type=1

https://help.salesforce.com/articleView?id=000334139&type=1&mode=1

Thanks!