You need to sign in to do that
Don't have an account?
Satish Chandrashekar
Update a field in one object based on the common field in the other
HI,
I am new to APEX and hence seeking help to understand if there is a possibility to write a trigger to update a field(Record_ID_1) in Custom_Object_2 after comparing the value of common field (this value is present in both objects) in another Custom_Object_1. These two objects have Master Detail relationship but all the data in these two objects are uploaded by different team members and no possibility of manual entry at both ends
thanks
I am new to APEX and hence seeking help to understand if there is a possibility to write a trigger to update a field(Record_ID_1) in Custom_Object_2 after comparing the value of common field (this value is present in both objects) in another Custom_Object_1. These two objects have Master Detail relationship but all the data in these two objects are uploaded by different team members and no possibility of manual entry at both ends
thanks
For example I want to update a account address in account object automatically updated address in contact.
Please try the below sample code
Hope it will help you.
Regards,
Jyothsna D
Quick question will there be any issues / errors / modifications ot the above code needed...if the field that i am trying to update through this trigger is the same field which holds the Master Detail relation between those two objects?