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
Balaji Selva Sekaran 8Balaji Selva Sekaran 8 

Master Detail relationship from child to Parent

I have two different custom objects course List and Trainer List, and i have established master detail relationship between two.
Course List is master and Trainer List is detail and when i try to create a new record in trainer list object, i want to search the courses according to the names but by default it is appearing to search with auto number which is quite difficult for me to identify which course i am mapping the trainer.

Is there any alternative for this?


User-added image
mukesh guptamukesh gupta
Hi Balaji,

As per my understanding Trainner would be Master side and Course would be Details  side, 

And important point is that we need to create a JUNCTION OBJECT because one tarinner can assign to multiple course, and one course can we teah by multiple trainner
                                                        JUNCTION OBJECT
TRAINNER                                      TRAINNER_COURSE                   COURSE        
                                                         Trainner.Id
                                                         Course.Id

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh