+ Start a Discussion
csrsakcsrsak 

Help to write the code for, to update the values in one custom object to another custom object

Hi All,

I have a requirement in one of custom application, requirement is like,

Applications having two custom objects like A and B, both objects have some same sections.

In custom object ‘A’ having one field of data type picklist like name is ownership, values of picklist is like own, other, joint under one section.

When the ownership = ‘joint’, what ever the values are filled in the fields of ‘A’ object under the particular section, after the save is happen in ‘A’ object,

Same values of that section are update in ‘B’ custom object of the same section.

Please help me to write the code of this scenario. or any suggestions for this.

Thanks in Advance,


Thanks and Regards,

Srinivas Chittela
Cool_DevloperCool_Devloper

You need to write a Trigger on object A for achieving this functionality.

 

Refer to the APEX documentation for the same here http://www.salesforce.com/us/developer/docs/apexcode/index.htm

Cool_D