You need to sign in to do that
Don't have an account?
Madhu007
Updating one record values to another record
Hi,
I have a record with more than 100 fields. I want to copy all field values into another existing record and update. Is there any method to update?
Thanks.
I have a record with more than 100 fields. I want to copy all field values into another existing record and update. Is there any method to update?
Thanks.
get the first record (with fields to copy), get the second record (target) and set the Id of the first record object to second record object and update. E.g. for accounts:
Best,
Andreas
All Answers
Check here http://www.oyecode.com/2012/08/utility-class-how-to-get-all-fields-for.html
get the first record (with fields to copy), get the second record (target) and set the Id of the first record object to second record object and update. E.g. for accounts:
Best,
Andreas
Thanks,
Madhu