function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lakshmi SLakshmi S 

Custom field History Tracking?

Hi Team,

How we can do Field Histroy Tracking using Apex classes and display the results in a Report?

Can any one please let me know how we can dot this......


Thanks.
Lakshmi
 
Raj VakatiRaj Vakati
You can query in apex 
SELECT ParentId, OldValue, NewValue, Field, CreatedById, CreatedDate FROM Employee__History where parentId = :'' and Field = 'Salary__c'

 
Lakshmi SLakshmi S
Hi Raj,

Thanks for your reply.
How we can implement the field tracking history using apex (Customisation).
Please let  me know

Thanks.