Apex – Populate a lookup relationship using an External ID

There are a few different ways to do this but recently I came across a really easy way that I thought I should share with everyone! In this example I have an Account and I have another object called AccountChild__c. The Account object has a field called ExternalID__c (which is an External Id field) and the [...]