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
ilayda Ünalilayda Ünal 

Display another object records in an object record?

Hi, I'd like to insert a suggestion panel in an object layout which shows available records from another object.

I have three objects, Request, Vehicle and Garage. Garage and Vehicle has a master-detail relationship respectively. And they are both related to Request via lookup relationship. What I want to do is, show available cars in garages in Request layout. For example, if the city field in request is a certain city, I want the system to show garages and available cars in that city. 
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Ilayda,

May I suggest you please refer the below link for reference.

https://success.salesforce.com/answers?id=90630000000DRSVAA4

Hope it helps.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar