-
Can i modify CreatedDate or LastModifiedDate of EmailMessage object on insert or update?
Is there any way through which i can modify CreatedDate or LastModifiedDate of EmailMessage object on insert or update?
Log In to reply.
Activity › Forums › Salesforce® Discussions › Can i modify CreatedDate or LastModifiedDate of EmailMessage object on insert or update?
Tagged: CreatedDate, EmailMessage, LastModifiedDate, Modify Data, Modify Date, Salesforce Email, Salesforce Email Object, Salesforce Objects
Is there any way through which i can modify CreatedDate or LastModifiedDate of EmailMessage object on insert or update?
Hi Ratnakar,
If you import data into Salesforce and want to retain the audit field values of the source system, you can set the values for audit fields on the following objects: Account, ArticleVersion, Attachment, CampaignMember, Case, CaseComment, Contact, ContentVersion, Contract, Event, Idea, IdeaComment, Lead, Opportunity, Question, Task, Vote, and custom objects. The only audit field you cannot set a value for is systemModstamp.
So I think you cant change the audit fields of EmailMessage.
Hope this helps you.
Hi Pranav, Are you sure there is no way through which we can achieve above?
Yes Ratnakar,
In my knowledge, there is no other way through which we can achieve above. But if you come through something by which this can be achieved, please let me know on the same thread. It would be really helpful.
Log In to reply.