Manipulate CreatedDate property of test-context sObjects

One thing I somehow missed in the Spring ’16 update is a new method in the System.Test class called setCreatedDate() .

Continue reading “Manipulate CreatedDate property of test-context sObjects”

15 vs 18 digit keys in Salesforce – What gives?

Something I’m consistently surprised to see is the misunderstanding around the two different types of keys in Salesforce.  Every record has two keys: a 15-digit, case-insensitive key, and an 18-digit case-sensitive key.

Continue reading “15 vs 18 digit keys in Salesforce – What gives?”