You need to sign in to do that
Don't have an account?
María Jesús Carmona
Old value of field on Apex test?
Hi,
I have an Apex class that compares on some methods the current and the old value of fields.
My question is, for example, If I have an Opportunity and change its name, how can I get the old name value from the test class to compare it with the new/current one?
Thanks.
I have an Apex class that compares on some methods the current and the old value of fields.
My question is, for example, If I have an Opportunity and change its name, how can I get the old name value from the test class to compare it with the new/current one?
Thanks.
Raj Vakati
Try like this