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
Kathleen Munetz-Vasquez 3Kathleen Munetz-Vasquez 3 

How to get a related list on both the parent and child object in salesforce.

I am working on a contract project in the Salesforce Sandbox and I need help; here is what I am trying to do: 
  1. Custom Object is "Contracts Managment" - Once a contract is entered there is a contract payment related list where you can then add a contract payment.
  2. There is a custom object "Amendment" that is the child of the "Contracts Management" object.  
I need to be able to add a the contracts payment as a related list on the amendment so that I can add payments from the amendment object as well. Please help and let me know if you need more detail.

Thanks in advance!
Best Answer chosen by Kathleen Munetz-Vasquez 3
GhanshyamChoudhariGhanshyamChoudhari
1. go to contracts payment object
2. create a lookup field (select amendment  as lookup )
3. add a field to page layout.
4. save



 

All Answers

GhanshyamChoudhariGhanshyamChoudhari
1. go to contracts payment object
2. create a lookup field (select amendment  as lookup )
3. add a field to page layout.
4. save



 
This was selected as the best answer
Kathleen Munetz-Vasquez 3Kathleen Munetz-Vasquez 3
This works, thank you GhanshyamChoudhari! I was trying to create a visualforce page earlier to display the related list but I can use this as well.
Thanks again!
GhanshyamChoudhariGhanshyamChoudhari
so nice. please mark the answer as Best answer. so others can also benefit. 
Kathleen Munetz-Vasquez 3Kathleen Munetz-Vasquez 3
Done! Thanks again!