function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
hi,
What is the difference between trigger.new and trigger.old and when to use which one.
The documentation is available here : http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables.htm
The short version is trigger.old contains the old version of the objects while trigger.new contains the new versions. you can use these to determine what changes have been made when a record is updated.
The documentation is available here : http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables.htm
The short version is trigger.old contains the old version of the objects while trigger.new contains the new versions. you can use these to determine what changes have been made when a record is updated.