You need to sign in to do that
Don't have an account?

Number of parent child objects..... its urgent
Can anyone answer me the following:
Accounts and Contacts is parent child relationship which are standard objects out of box. In one of our class we attended we were told that we can only go 3 level down for parent child.
So is it that we can have Account -> Contact -> and another custom object which makes the total to 3.
Or
As Account, Contact objects which is out of box and you can still go 3 additional levels below Contacts which could be custom objects which will give us 5 objects (i.e. 2 standard and 3 custom) related as parent child.
thank you
Relationship queries support one level of aggregate relationships (i.e. starting with a root object and asking for its children). You can't go two levels down. You can go up to five levels up (i.e. child -> parent -> grandparent -> great-grandparent -> great-great-grandparent).
Please see the SOQL section of our API documentation for more details.