Skip to main content

8 docs tagged with "debugging"

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.