+ Start a Discussion

Cannot find the Child Relationship Name for Lead History


I can't find this child relationship name.  How do I find it?  I tried looking at the WSDL and can't find it in there...


It's Histories. Like this:


system.debug([select id,(select id from histories) from lead limit 1]);

 It's in the WSDL, as long as at least one field is selected for history tracking.