+ Start a Discussion
sangeeta.marathe@Futurewise.cosangeeta.marathe@Futurewise.co 

Get Parent as well as Child ID's...

How can i get parent ID as well as child ID of the field ?

Is both ID's are different with each other ?

I also want to confirm that both record type id will also be different & if YES then how to get both the ID's

Imran MohammedImran Mohammed

If you are saying IDs of records then yes,

You need to issue query like [select id, name ,(select id, name fro Child) from Parent];

And Parent and Child ids will be different.