Skip to main content

One doc tagged with "system-fields"

View all tags

System Audit Field Integrity in SObject Cloning

When cloning SObjects in Apex, partially clearing system audit fields (CreatedDate, LastModifiedDate) causes FIELD_INTEGRITY_EXCEPTION errors. All four audit fields must be cleared together.