I need to create an Apex Trigger (and an Apex class?) to transfer the results of a Custom Activity Field "Date_Brochure_sent__c" to a field on its related Lead.
The Activity Custom Field: "Date_Brochure_sent__c" is calculated using the following formula:
IF (Subject="Brochure letter sent", CreatedDate, NULL)
So I presume I need to both the appropriate Apex Trigger (and Class?) to achieve this?
Skills: apex, salesforce.com