Skip to main content

How to Retain Audit Fields (CreatedDate, LastModifiedDate, etc.) During Data Migration in Salesforce

  1. Enable the required user interface permissionHow to Retain Audit Fields (CreatedDate, LastModifiedDate, etc.
  2. Validate system permission (Using Permission Set) image.pngimage.pngimage.png
  3. Set audit fields during insert
    • Populate audit fields (e.g., CreatedDate, CreatedById, LastModifiedDate, LastModifiedById) at the time of insert.image.png

Important Note

Standard audit fields cannot be updated

after record insertion. 

They can only be populated

during the initial insert operation

 

#Data Management  #Org Migration

1 commento
  1. 17 mar, 03:29

    Supported & Unsupported Objects

    ✅ Supported

    Account, Contact, Lead, Opportunity, Case, Custom Objects

    ❌ Not Supported

    Product2, Pricebook2, PricebookEntry, Campaign, Campaign Member, Solution

    Reason:

     

    Audit fields cannot be overwritten for product and price book objects

    to ensure data integrity and consistent pricing across the organization.

0/9000