+ Start a Discussion

Accessing Record History wit Apex

Could someone point me towards any documentation on how to access a custom object's History tracking information through APEX?  I looked through the APEX reference but I may have missed it - if it's in there can you cite a page #?


There should be an object called "CustomObject__History and you should be able to query from that object. The fields in the object should be similar to http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_accounthistory.htm