You need to sign in to do that
Don't have an account?

before trigger- partial success
if you have an adderror method in a before trigger, will it exist the entire batch if 1 record calls the adderror? if so, how can you partially process those records with an explicit database.update method
If the update is executed using the update statement, like
then addError on arecord will cause a ValidationException.
However if you update using
then there will be no exception and you will have a chance to examine the results array.
Hope this helps,
Kresimir
Apex Editor LS - free alternative to Force.com apex editor.
Just few additions!