Where to place Validation code in an Apex Trigger?
[Andrew Fawcett] Salesforce offers Apex developers two phases within an Apex Trigger, before and after. Most examples i see tend to perform validation code in the before phase of the trigger, even the Salesforce examples show this. However there can be implications with this, that is not at first that obvious. Lets look at an example, first here is my object … – Learn more at Andy in the Cloud