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
Chetan KapaniaChetan Kapania 

Can we drive a field's value of an object through another object's field

I have created a hotel reservation app, under which I am trying to control values of picklist field Status in Room object through another field Check in Date in other object Reservation. Both object have lookup relationship between them. For e.g. if Check in Date field is empty, Status field should show Vacant else it should update as Booked/Occupied.