You need to sign in to do that
Don't have an account?
Austin JRB
APEX trigger that would copy comments from a Case to the activity history of a Person Account.
I need an APEX trigger that would copy comments from a Case to the Activity history of a Person Account. Any existing code for this?
Thanks,
JRB
Just a suggestion this is a discussion forum I am not sure what you want do you want a readymade trigger?
Regards
Vivek Viswanathan
Message Edited by Vivek Viswanath on 08-14-2008 10:13 AM
Just out of shear curiosity, and I am genuinely interested, why is this better than just showing the Cases related list on the accounts page layout? Permissions or something?
Yes, your answer is very helpful. Basically, I understand that there is no way to put a trigger on Case Comments.
Can you explain your question about "showing the Cases related list on the accounts page layout"? We have Cases on that object, but we cannot see the Case Comments from there, just the Case Activity. Do you know of a way to display the Case Comments on the Person Account?
Thanks for your help on this
Message Edited by Austin JRB on 08-19-2008 07:40 AM
At the time I wrote that portion I don't think I understood that CaseComments was a child object, so I was thinking that just showing a field on the Cases related list section of the Accounts page layout would have been enough. I see now that you would have to open the case to see the case comments even if you put the cases related list into your Accounts page layout.
Sorry to get your hopes up.
Hi,
I have done something similar but we introduced a new custom field that replaces the comments on the case and maintained the history of this field.
Not sure if you are looking to do something similar
Regards
Vivek
Here is the part that is missing though... I'm not sure how to make this page take over from the original Account page. Maybe someone else here would have an idea on that.