+ Start a Discussion
Hari N 20Hari N 20 

Trigger to fill data

Hi All,
I am inserting data into task object using batch apex from one object.
I have to fill more fields in task object but they are in different object.
I want to write trigger for this.
When I am filling from object1, I am mapping account name also.
Now, In second object also I have account name.
When I am filling remaining data, I want to map these data with same account name.
How to do this.

Thanks in Advance