You need to sign in to do that
Don't have an account?
Ek0nomik
Can't query related list in API
On the Contract object we have a related list of a custom object, let's just call it "CustomObject". So if you visit the page layout for a contract record, you can see the related list of "CustomObjects". I'm unable to do a SOQL relationship query on this custom object though. I'm a little confused why I can query accounts and the related contracts, but I am unable to query contracts and the related custom objects. I was hoping someone here could explain why this would be.
Thanks!
I'm going to leave my post here even though I figured out the answer. I didn't have a child relationship name set on the custom lookup field. That solved the issue and made the object queryable.