Archaeology: what *was* object type 004?

So we’ve all eyeballed the various standard object Key Prefixes at some point and noted:

001 is Account

003 is Contact

etc

I’ve always wondered: what was 004? What about 002?

Answer

002 is a Note, 004 has apparently not been used.

Source:

System.debug(Id.valueOf('002000000000000').getSObjectType()); // Note
System.debug(Id.valueOf('004000000000000').getSObjectType()); // Cannot locate Apex Type for ...

Attribution
Source : Link , Question Author : Matt and Neil , Answer Author : sfdcfox

Leave a Comment