+ Start a Discussion
rahul Shukla 37rahul Shukla 37 

custom object field value need to update on opportunity based on checkbox field on contact

Hi All,

I have one custom object daily rates, in which i am having one field rates and one picklist field is category(which include infant toddler and 3+), another object i have contact which also have three checkbox field (infant, toddler and 3+), if any of checkbox become true on contact, then i want to update base_rate field on opportunity and rate should fetch from the daily rate object, that i already set based on category (infant,toddler and 3+).
Please help me how can i achieve this scenerio.  
ShirishaShirisha (Salesforce Developers) 
Hi Rahul,


You can create process builder to update the fields based on the related Object's field.Otherwise,you can create the trigger to achieve the same on after/before update.

Please refer the sample code in the below link:


Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri