function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

Where to create field for having related list

Hello,

I have parent objet ParentX and child object childY.
I want to have related list of ChildY on parentX records.

My question is, i need tocreate lookup on child or parent ?

Thanks 
Best Answer chosen by Ab
Saravanan RajarajanSaravanan Rajarajan
Hi Sandrine,

Yes, Child Object Only need to be created Relationship with Parent Object.

Always Lookup or MDR Relationship its goes to Child to Parent.

All Answers

Manoj Maraka 18Manoj Maraka 18
Child
Japleen KaurJapleen Kaur
Hi Sandrine,
The lookup relationship needs to be created on the child object.

 
SFDC Prime SquadSFDC Prime Squad
Hi Sandrine,

Japleen is correct, after creating a lookup field you will have to backfill the data for existing records.

Thanks
Saravanan RajarajanSaravanan Rajarajan
Hi Sandrine,

Yes, Child Object Only need to be created Relationship with Parent Object.

Always Lookup or MDR Relationship its goes to Child to Parent.
This was selected as the best answer