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
RameshkannanRameshkannan 

Update trigger - Account object.

Hi ,

 

As I am new to Apex Triggers..

 

Please guide me ,

 

I am using account object and accountsetup object.

 

 Account object is the master and the account setup object is the child.

 

I have a custom field in both objects.

 

If the custom field in the account setup object  is created/updated/deleted , the custom field in the account object  should be updated with the same value.

 

Any ideas!!!

 

 

regards

Ramesh

 

 

 

 

 

 

 

Arvind1Arvind1

Hi,

 

As I understand from this description, Account and Account setup objects are related through master detail relationship (not lookup). If that is the case, you can achieve this using workflow no need to write a trigger.

 

Thanks

Arvind